From a3fc27143a263030b533944dd6f74b6dc267c372 Mon Sep 17 00:00:00 2001 From: Tommi Virtanen Date: Thu, 15 Nov 2007 17:25:36 +0200 Subject: [PATCH] Make gitosis-serve pass through environment to git-shell. --- gitosis/serve.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)