Mercurial > p > roundup > code
changeset 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 | 0cc9b954f1f1 |
| children | c2c56f560d2d |
| files | roundup/scripts/roundup_server.py |
| diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
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
