From 5f90e6393735391f36ae61588b0682af6bf0bc79 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Sat, 28 Aug 2004 12:42:03 +0000 Subject: [PATCH] Checking for root doesn't matter when you don't quit afterwards. --- scripts/supybot-wizard | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/supybot-wizard b/scripts/supybot-wizard index 7c4635f13..64dfcb8b3 100755 --- a/scripts/supybot-wizard +++ b/scripts/supybot-wizard @@ -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: