diff options
-rw-r--r-- | gitosis/serve.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitosis/serve.py b/gitosis/serve.py index 92f150a..8ada5d3 100644 --- a/gitosis/serve.py +++ b/gitosis/serve.py @@ -149,6 +149,6 @@ class Main(app.App): sys.exit(1) log.debug('Serving %s', newcmd) - os.execvpe('git-shell', ['git-shell', '-c', newcmd], {}) + os.execvp('git-shell', ['git-shell', '-c', newcmd]) log.error('Cannot execute git-shell.') sys.exit(1) |