mirror of
https://github.com/fw876/helloworld.git
synced 2026-12-06 08:02:17 +00:00
Merge pull request #1587 from zxlhhyccc/patch-2
luci-app-ssr-plus: update.lua: fix typo erro.
This commit is contained in:
1 file changed
+1
-1
@@ -9,7 +9,7 @@ require "luci.model.uci"
|
||||
local icount = 0
|
||||
local args = arg[1]
|
||||
local uci = luci.model.uci.cursor()
|
||||
local TMP_DNSMASQ_PATH = luci.sys.exec("find /tmp/dnsmasq*/dnsmasq-ssrplus.d -type d -print -quit 2>/dev/null")
|
||||
local TMP_DNSMASQ_PATH = luci.sys.exec("find /tmp/dnsmasq.*/dnsmasq-ssrplus.d -type d -print 2>/dev/null"):gsub("%s+", "")
|
||||
local TMP_PATH = "/var/etc/ssrplus"
|
||||
-- match comments/title/whitelist/ip address/excluded_domain
|
||||
local comment_pattern = "^[!\\[@]+"
|
||||
|
||||
Reference in new issue
Block a user