diff options
author | 2007-11-15 17:25:36 +0200 | |
---|---|---|
committer | 2007-11-15 17:25:36 +0200 | |
commit | a3fc27143a263030b533944dd6f74b6dc267c372 (patch) | |
tree | cc4502508e5f5d65d7704c529538072c0aef1628 | |
parent | Make repository.export unit tests use --git-dir= too. (diff) | |
download | gitosis-gentoo-a3fc27143a263030b533944dd6f74b6dc267c372.tar.gz gitosis-gentoo-a3fc27143a263030b533944dd6f74b6dc267c372.tar.bz2 gitosis-gentoo-a3fc27143a263030b533944dd6f74b6dc267c372.zip |
Make gitosis-serve pass through environment to git-shell.
-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) |