diff options
author | Matt Goins <mjgoins@openflows.com> | 2009-04-08 00:43:05 -0400 |
---|---|---|
committer | Matt Goins <mjgoins@openflows.com> | 2009-04-08 00:43:05 -0400 |
commit | dfd67a14003fbfb4b1ba2269e7d47f4d0c44fcf8 (patch) | |
tree | 3372902f39b0995a39b62851671fe33e4ceeb56e /src/share/m/subkey_to_ssh_agent | |
parent | f77a5d79b4a9b4b44cb3786237931458265e49ed (diff) | |
parent | ee3872232ffc40ab0ae7ea823059806f839f2700 (diff) |
Merge commit 'dkg/master'
Diffstat (limited to 'src/share/m/subkey_to_ssh_agent')
-rw-r--r-- | src/share/m/subkey_to_ssh_agent | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/share/m/subkey_to_ssh_agent b/src/share/m/subkey_to_ssh_agent index aa647a6..edc177b 100644 --- a/src/share/m/subkey_to_ssh_agent +++ b/src/share/m/subkey_to_ssh_agent @@ -27,7 +27,7 @@ subkey_to_ssh_agent() { local kname # if there's no agent running, don't bother: - if [ -z "$SSH_AUTH_SOCK" ] || ! which ssh-add >/dev/null ; then + if [ -z "$SSH_AUTH_SOCK" ] || ! type ssh-add >/dev/null ; then failure "No ssh-agent available." fi |