From ec384be4bea939c3e3e055d02006ffc0df0c8d5a Mon Sep 17 00:00:00 2001 From: Nils Winkler Date: Sat, 2 May 2020 14:46:05 +0200 Subject: [PATCH] Remove echo when a dead SSH Agent PID is found This case can be safely ignored, no need to print a message for that. Fixes #1579 --- plugins/available/sshagent.plugin.bash | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/available/sshagent.plugin.bash b/plugins/available/sshagent.plugin.bash index a96a044b..42acfb51 100644 --- a/plugins/available/sshagent.plugin.bash +++ b/plugins/available/sshagent.plugin.bash @@ -94,7 +94,6 @@ function _ensure_valid_sshagent_env() { return fi - echo "There's a dead ssh-agent at the landing..." ssh-agent > "${SSH_AGENT_ENV}" return } @@ -125,7 +124,7 @@ function sshagent() { about 'ensures ssh-agent is up and running' param '1: on|off ' example '$ sshagent on' - group 'ssh' + group 'ssh' [[ -z "${SSH_AGENT_ENV}" ]] \ && export SSH_AGENT_ENV="${HOME}/.ssh/agent_env.${HOSTNAME}"