Merge pull request #1584 from nwinkler/sshagent-remove-echo
Remove echo when a dead SSH Agent PID is foundpull/1586/head
commit
bc0e47aec1
|
|
@ -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}"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue