mirror of
https://github.com/Burnett01/rsync-deployments.git
synced 2026-09-27 22:58:16 +00:00
Cat the agent ID?
This commit is contained in:
@@ -6,6 +6,7 @@ if [ ! -z "$SSH_AGENT_PID" ]; then
|
|||||||
exit $?
|
exit $?
|
||||||
elif [ -f "/tmp/ssh-agent-id" ]; then
|
elif [ -f "/tmp/ssh-agent-id" ]; then
|
||||||
echo "File Exists"
|
echo "File Exists"
|
||||||
|
cat /tmp/ssh-agent-id
|
||||||
SSH_AGENT_PID=$(cat /tmp/ssh-agent-id)
|
SSH_AGENT_PID=$(cat /tmp/ssh-agent-id)
|
||||||
ssh-agent -k
|
ssh-agent -k
|
||||||
exit $?
|
exit $?
|
||||||
|
|||||||
Reference in New Issue
Block a user