Update mosdns.lua

This commit is contained in:
Bard 2022-05-01 11:42:03 +08:00 committed by GitHub
parent 4e4a89b7aa
commit 9e014c4ce9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,5 +30,5 @@ function get_log()
end end
function clear_log() function clear_log()
luci.sys.call("echo '' > $(uci -q get mosdns.mosdns.logfile)") luci.sys.call("cat /dev/null > $(uci -q get mosdns.mosdns.logfile)")
end end