Modify ssh-agent startup and sync script call in provision_linux

This commit is contained in:
mitchell 2020-11-02 00:11:42 -05:00
parent 9ccb100294
commit d7ed169b96
2 changed files with 4 additions and 2 deletions

View file

@ -1,3 +1,5 @@
function ssh_agent_startup -d 'Start ssh agent and set env vars'
eval (ssh-agent -c) >/dev/null 2>&1
if test -z "$SSH_AUTH_SOCK"; or test -z "$SSH_AGENT_PID"
eval (ssh-agent -c) >/dev/null 2>&1
end
end