* ffluci/core: dispatcher.lua: setgid() won't work after setuid() due to missing permission - swapped set*id() calls; whitespace cleanups
This commit is contained in:
parent
628701518a
commit
32aa488d9b
1 changed files with 35 additions and 35 deletions
|
@ -100,14 +100,14 @@ function dispatch()
|
|||
require("ffluci.i18n").loadc(track.i18n)
|
||||
end
|
||||
|
||||
if track.setuser then
|
||||
ffluci.sys.process.setuser(track.setuser)
|
||||
end
|
||||
|
||||
if track.setgroup then
|
||||
ffluci.sys.process.setgroup(track.setgroup)
|
||||
end
|
||||
|
||||
if track.setuser then
|
||||
ffluci.sys.process.setuser(track.setuser)
|
||||
end
|
||||
|
||||
|
||||
if c and type(c.target) == "function" then
|
||||
dispatched = c
|
||||
|
|
Loading…
Reference in a new issue