Checking for root doesn't matter when you don't quit afterwards.

This commit is contained in:
Jeremy Fincher 2004-08-28 12:42:03 +00:00
parent 5a18914f96
commit 5f90e63937

View File

@ -157,6 +157,7 @@ def main():
if os.name == 'posix':
if (os.getuid() == 0 or os.geteuid() == 0) and not options.allowRoot:
sys.stderr.write('Please, don\'t run this as root.\n')
sys.exit(-1)
filename = ''
if args: