diff options
-rw-r--r-- | libs/sys/luasrc/sys.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/sys/luasrc/sys.lua b/libs/sys/luasrc/sys.lua index 7906d2be2..54f7f2b1a 100644 --- a/libs/sys/luasrc/sys.lua +++ b/libs/sys/luasrc/sys.lua @@ -795,7 +795,7 @@ end -- @return Numeric index value function init.index(name) if fs.access(init.dir..name) then - return call("env -i sh -c 'source %s%s; exit $START' >/dev/null" + return call("env -i sh -c 'source %s%s enabled; exit ${START:-255}' >/dev/null" %{ init.dir, name }) end end |