Re: [PATCH 2/2] Remember and use GIT_EXEC_PATH on exec()'s
- From
- Michal Ostrowski <mostrows@watson.ibm.com>
- Date
- Jan 10, 2006, 20:32 UTC
- Message-ID
- <1136925167.11717.607.camel@brick.watson.ibm.com>
- In-Reply-To
- <20060110201536.GA3155@steel.home>
On Tue, 2006-01-10 at 21:15 +0100, Alex Riesen wrote:
Show 6 quoted lines
> Andreas Ericsson, Tue, Jan 10, 2006 20:13:34 +0100: > > >My shell's rc-file doesn't get invoked when using ssh as a transport; > > >that's part of the problem. > > > > It does for me and everybody else. $HOME/.bashrc is read even for > > non-interactive shells. ...
On the system I'm dealing with, ssh does not invoke bash if a command is specified.
If I do ssh user@system /home/user/bin/foo, ssh performs an exec of /home/user/bin/foo; my shell is never invoked. This isn't up to me; I don't have root on this system.
-- Michal Ostrowski <mostrows@watson.ibm.com>