Skip to content

Commit d9d5c75

Browse files
author
Richard Jones
committed
fix setgid typo [SF#1171346]
1 parent 7a2c2ed commit d9d5c75

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Fixed:
2525
- send errors in the web interface to a logfile by default. Use the
2626
"debug" multiprocess mode (roundup-server) or the DEBUG_TO_CLIENT var
2727
(roundup.cgi) to have the errors appear in your browser
28+
- fix setgid typo (sf bug 1171346)
2829

2930

3031
2005-03-03 0.8.2

roundup/scripts/roundup_server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
"""Command-line script that runs a server over roundup.cgi.client.
1919
20-
$Id: roundup_server.py,v 1.78 2005-04-13 05:30:06 richard Exp $
20+
$Id: roundup_server.py,v 1.79 2005-04-13 06:12:12 richard Exp $
2121
"""
2222
__docformat__ = 'restructuredtext'
2323

@@ -263,7 +263,7 @@ def setgid(group):
263263
return
264264

265265
# if root, setgid to the running user
266-
if not os.getuid():
266+
if os.getuid():
267267
print _('WARNING: ignoring "-g" argument, not root')
268268
return
269269

0 commit comments

Comments
 (0)