* 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:
Jo-Philipp Wich 2008-05-24 22:58:45 +00:00
parent 628701518a
commit 32aa488d9b

View file

@ -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