diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-04-10 09:55:07 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-04-10 09:55:07 -0300 |
commit | 9188a1f8db885c3dc969b1887a04cc6d5d7befcb (patch) | |
tree | e9c89cf06e89365a0940658190c9c0fc899b970a | |
parent | 24f8166df3edf7d0cb33cc3861e975019d41d01e (diff) | |
download | utils-ssh-9188a1f8db885c3dc969b1887a04cc6d5d7befcb.tar.gz utils-ssh-9188a1f8db885c3dc969b1887a04cc6d5d7befcb.tar.bz2 |
Fix: ssh-agent-eval: check for monkeysphere
-rwxr-xr-x | ssh-agent-eval | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ssh-agent-eval b/ssh-agent-eval index 2edf711..82d6fb1 100755 --- a/ssh-agent-eval +++ b/ssh-agent-eval @@ -30,7 +30,10 @@ function start_agent { chmod 600 "${SSH_ENV}" . "${SSH_ENV}" > /dev/null /usr/bin/ssh-add; - /usr/bin/monkeysphere subkey-to-ssh-agent + + if [ -x "/usr/bin/monkeysphere" ]; then + /usr/bin/monkeysphere subkey-to-ssh-agent + fi } # Source SSH settings, if applicable |