Mercurial > p > roundup > code
diff roundup/scripts/roundup_server.py @ 3733:2addec69757a
fix: setuid called when run by non-root
| author | Alexander Smishlajev <a1s@users.sourceforge.net> |
|---|---|
| date | Sun, 29 Oct 2006 05:01:15 +0000 |
| parents | f2fda3e6fc8b |
| children | a2d22d0de0bc |
line wrap: on
line diff
--- a/roundup/scripts/roundup_server.py Tue Oct 17 10:55:17 2006 +0000 +++ b/roundup/scripts/roundup_server.py Sun Oct 29 05:01:15 2006 +0000 @@ -17,7 +17,7 @@ """Command-line script that runs a server over roundup.cgi.client. -$Id: roundup_server.py,v 1.83 2006-04-27 04:59:37 richard Exp $ +$Id: roundup_server.py,v 1.84 2006-10-29 05:01:15 a1s Exp $ """ __docformat__ = 'restructuredtext' @@ -324,6 +324,7 @@ if os.getuid(): print _('WARNING: ignoring "-u" argument, not root') + return try: import pwd
