Add some debug

This commit is contained in:
John Internet 2020-01-02 21:38:03 +00:00
parent 17bbc35df4
commit b6a8f25609

View file

@ -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 $?