luci: fix subscribe script typo

This commit is contained in:
xiaorouji 2023-09-03 01:10:19 +08:00 committed by sbwml
parent ce2e94d2e5
commit 3a065361bb
2 changed files with 6 additions and 4 deletions

View File

@ -6,7 +6,7 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=luci-app-passwall PKG_NAME:=luci-app-passwall
PKG_VERSION:=4.69-3 PKG_VERSION:=4.69-4
PKG_RELEASE:= PKG_RELEASE:=
PKG_CONFIG_DEPENDS:= \ PKG_CONFIG_DEPENDS:= \

View File

@ -307,8 +307,10 @@ do
end end
end end
else else
if v.currentNode == nil and v.delete then if v.currentNode == nil then
v.delete() if v.delete then
v.delete()
end
CONFIG[k] = nil CONFIG[k] = nil
end end
end end
@ -1037,7 +1039,7 @@ local function select_node(nodes, config)
config.set(config, server) config.set(config, server)
end end
else else
config.set(config, nil) config.set(config, "nil")
end end
end end