This commit is contained in:
David Bartley 2007-11-28 03:41:44 -05:00
parent 21f12b917c
commit 8aa2bd1b24
1 changed files with 2 additions and 2 deletions

View File

@ -18,8 +18,8 @@ for pathent in sys.path[:]:
if not pathent.find('/usr') == 0 and not pathent.find('/var') == 0:
sys.path.remove(pathent)
euid = os.geteuid()
egid = os.getegid()
euid = os.getuid()
egid = os.getgid()
try:
os.setreuid(euid, euid)
os.setregid(egid, egid)