chiark / gitweb /
ssh-agent-shell: Sigh. The sense of the $SSH_AGENT_PID check was exactly
[bin.git] / ssh-agent-shell
index f32402e..3007c4e 100755 (executable)
@@ -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 "$@"