From e97c610e7781a9b28e0bbcdc08f3fb0f567986f2 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Fri, 27 Aug 2004 02:58:04 +0000 Subject: [PATCH] Possible fix for the allow-root problem. --- scripts/supybot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/supybot b/scripts/supybot index 7c439de54..171dc63fe 100755 --- a/scripts/supybot +++ b/scripts/supybot @@ -173,7 +173,7 @@ if __name__ == '__main__': (options, args) = parser.parse_args() if os.name == 'posix': - if os.getuid() == 0 or os.geteuid() == 0 and not options.allowRoot: + if (os.getuid() == 0 or os.geteuid() == 0) and not options.allowRoot: sys.stderr.write('Dude, don\'t even try to run this as root.\n') sys.exit(-1)