mirror of
https://github.com/Burnett01/rsync-deployments.git
synced 2026-09-21 23:43:13 +00:00
Notify if it's already running.
This commit is contained in:
@@ -4,4 +4,7 @@
|
||||
if [ -z "$SSH_AGENT_PID" ]; then
|
||||
eval $(ssh-agent) > /dev/null
|
||||
echo "$SSH_AGENT_PID" > /tmp/ssh-agent-id
|
||||
echo "Started SSH Agent. PID: $SSH_AGENT_PID"
|
||||
else
|
||||
echo "SSH Agent Running. PID: $SSH_AGENT_PID"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user