Skip to content

Commit

Permalink
oops; minor bug in tproxy
Browse files Browse the repository at this point in the history
thanks to Robin Johnson for catching this.

Note it only happens in one very very specific case: when no command is sent
by the user at all (i.e., "ssh git@host", so even if you don't have this
patch, the workaround is "ssh git@host info");
  • Loading branch information
sitaramc committed Mar 21, 2016
1 parent ed20d02 commit 98c167b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/Gitolite/Triggers/TProxy.pm
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,5 @@ sub input {
# redirect to upstream
exec( "ssh", $rc{TPROXY_FORWARDS_TO}, "TPROXY_FOR=$user", "SOC=$ENV{SSH_ORIGINAL_COMMAND}" );
}
1;

0 comments on commit 98c167b

Please sign in to comment.