Make gitosis-serve pass through environment to git-shell.

This commit is contained in:
Tommi Virtanen 2007-11-15 17:25:36 +02:00
parent 7743e80d87
commit a3fc27143a

View file

@ -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)