]> git.nothing2do.fr Git - get-hack-src.git/commitdiff
Cleaned up a bit
authorallfro <ndouba@gmail.com>
Sun, 10 Feb 2013 07:40:34 +0000 (02:40 -0500)
committerallfro <ndouba@gmail.com>
Sun, 10 Feb 2013 07:40:34 +0000 (02:40 -0500)
src/canari/commands/run_server.py

index e71c967248cbd93616c5e081f853f871ffbe44f8..69152849702c5cf5462abf9abddb6c337e3fa4c3 100755 (executable)
@@ -25,7 +25,7 @@ __copyright__ = 'Copyright 2012, Canari Project'
 __credits__ = []
 
 __license__ = 'GPL'
-__version__ = '0.4'
+__version__ = '0.5'
 __maintainer__ = 'Nadeem Douba'
 __email__ = 'ndouba@gmail.com'
 __status__ = 'Development'
@@ -294,7 +294,7 @@ def run(args):
 
     if os.name == 'posix' and os.geteuid() and (opts.port <= 1024 or opts.enable_privileged):
         print ('You must run this server as root to continue...')
-        os.execvp('sudo', ['sudo'] + list(sys.argv))
+        os.execvp('sudo', ['sudo'] + sys.argv)
 
     fix_binpath(config['default/path'])