update 2024-11-18 14:11:42

This commit is contained in:
actions-user 2024-11-18 14:11:42 +08:00
parent 5527117d4f
commit 1e090b9fba
1 changed files with 3 additions and 1 deletions

View File

@ -354,7 +354,9 @@ function store_action(param)
uci:set("istore", "istore", "last_path", autopath)
uci:commit("istore")
end
autoenv = autoenv .. " enable=" .. autoenable
if autoenable ~= nil then
autoenv = autoenv .. " enable=" .. autoenable
end
code, out, err = _action(myopkg, luci.util.shellquote(autoenv), action, metapkg)
else
code, out, err = _action(myopkg, action, metapkg)