diff roundup/scripts/roundup_server.py @ 3279:6e7462bbafde

fix setgid typo [SF#1171346]
author Richard Jones <richard@users.sourceforge.net>
date Wed, 13 Apr 2005 06:12:12 +0000
parents 3084b07ec266
children 87a017f50195
line wrap: on
line diff
--- a/roundup/scripts/roundup_server.py	Wed Apr 13 05:30:06 2005 +0000
+++ b/roundup/scripts/roundup_server.py	Wed Apr 13 06:12:12 2005 +0000
@@ -17,7 +17,7 @@
 
 """Command-line script that runs a server over roundup.cgi.client.
 
-$Id: roundup_server.py,v 1.78 2005-04-13 05:30:06 richard Exp $
+$Id: roundup_server.py,v 1.79 2005-04-13 06:12:12 richard Exp $
 """
 __docformat__ = 'restructuredtext'
 
@@ -263,7 +263,7 @@
         return
 
     # if root, setgid to the running user
-    if not os.getuid():
+    if os.getuid():
         print _('WARNING: ignoring "-g" argument, not root')
         return
 

Roundup Issue Tracker: http://roundup-tracker.org/