Bug fix
This commit is contained in:
parent
21f12b917c
commit
8aa2bd1b24
4
bin/ceo
4
bin/ceo
|
@ -18,8 +18,8 @@ for pathent in sys.path[:]:
|
||||||
if not pathent.find('/usr') == 0 and not pathent.find('/var') == 0:
|
if not pathent.find('/usr') == 0 and not pathent.find('/var') == 0:
|
||||||
sys.path.remove(pathent)
|
sys.path.remove(pathent)
|
||||||
|
|
||||||
euid = os.geteuid()
|
euid = os.getuid()
|
||||||
egid = os.getegid()
|
egid = os.getgid()
|
||||||
try:
|
try:
|
||||||
os.setreuid(euid, euid)
|
os.setreuid(euid, euid)
|
||||||
os.setregid(egid, egid)
|
os.setregid(egid, egid)
|
||||||
|
|
Loading…
Reference in New Issue