From 9188a1f8db885c3dc969b1887a04cc6d5d7befcb Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 10 Apr 2024 09:55:07 -0300 Subject: Fix: ssh-agent-eval: check for monkeysphere --- ssh-agent-eval | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3