mirror of
https://github.com/Burnett01/rsync-deployments.git
synced 2024-11-23 16:03:46 +01:00
Cat the agent ID?
This commit is contained in:
parent
29ed9db523
commit
d8263c4260
1 changed files with 1 additions and 0 deletions
|
@ -6,6 +6,7 @@ if [ ! -z "$SSH_AGENT_PID" ]; then
|
|||
exit $?
|
||||
elif [ -f "/tmp/ssh-agent-id" ]; then
|
||||
echo "File Exists"
|
||||
cat /tmp/ssh-agent-id
|
||||
SSH_AGENT_PID=$(cat /tmp/ssh-agent-id)
|
||||
ssh-agent -k
|
||||
exit $?
|
||||
|
|
Loading…
Reference in a new issue