Make gitosis-serve pass through environment to git-shell.
This commit is contained in:
parent
7743e80d87
commit
a3fc27143a
1 changed files with 1 additions and 1 deletions
|
@ -149,6 +149,6 @@ class Main(app.App):
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
log.debug('Serving %s', newcmd)
|
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.')
|
log.error('Cannot execute git-shell.')
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
Loading…
Reference in a new issue