libs/sys: fix unwanted invocation of initscripts when probing index of rcS
This commit is contained in:
parent
362dfd03e5
commit
7b276a5f48
@ -748,7 +748,7 @@ end
|
||||
-- @return Numeric index value
|
||||
function init.index(name)
|
||||
if fs.access(init.dir..name) then
|
||||
return call("source "..init.dir..name.."; exit $START")
|
||||
return call("source "..init.dir..name.." enabled; exit $START")
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user