Mon Mar 21 01:01:28 2022 daemon.err uhttpd[455]: stack traceback:
Mon Mar 21 01:01:28 2022 daemon.err uhttpd[455]: [C]: in function 'find'
Mon Mar 21 01:01:28 2022 daemon.err uhttpd[455]: /usr/lib/lua/luci/controller/openclash.lua:1362: in function 'trans_line'
Mon Mar 21 01:01:28 2022 daemon.err uhttpd[455]: /usr/lib/lua/luci/controller/openclash.lua:185: in function 'startlog'
Mon Mar 21 01:01:28 2022 daemon.err uhttpd[455]: /usr/lib/lua/luci/controller/openclash.lua:899: in function </usr/lib/lua/luci/controller/openclash.lua:896>
Mon Mar 21 01:01:28 2022 daemon.err uhttpd[455]: /usr/lib/lua/luci/controller/openclash.lua:1362: bad argument #1 to 'find' (string expected, got nil)
错误日志:
应该是因为这边引用了个未定义的变量 https://github.com/vernesong/OpenClash/blob/667880c196c0cb760a0872f4706fe1589e3edd5e/luci-app-openclash/luasrc/controller/openclash.lua#L185