chiark
/
gitweb
/
~cjwatson
/
bin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
test -f for */* too
[bin.git]
/
ssh-agent-shell
diff --git
a/ssh-agent-shell
b/ssh-agent-shell
index f32402e6cc28032d8df1c8cbbdab547b7a0faa83..3007c4e23a46295f1806bc7d028361dbe55f56cd 100755
(executable)
--- a/
ssh-agent-shell
+++ b/
ssh-agent-shell
@@
-1,5
+1,5
@@
#! /bin/sh
-if [ -
n
"$SSH_AGENT_PID" ]; then
+if [ -
z
"$SSH_AGENT_PID" ]; then
exec ssh-agent bash "$@"
else
exec bash "$@"