mirror of
https://github.com/Burnett01/rsync-deployments.git
synced 2026-09-24 22:58:44 +00:00
Add some debug
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ ! -z "$SSH_AGENT_PID" ]; then
|
||||
echo "Var Set"
|
||||
ssh-agent -k
|
||||
exit $?
|
||||
elif [ -f "/tmp/ssh-agent-id" ]; then
|
||||
echo "File Exists"
|
||||
SSH_AGENT_PID=$(cat /tmp/ssh-agent-id)
|
||||
ssh-agent -k
|
||||
exit $?
|
||||
|
||||
Reference in New Issue
Block a user