Add some debug
This commit is contained in:
parent
17bbc35df4
commit
b6a8f25609
|
@ -1,9 +1,11 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
if [ ! -z "$SSH_AGENT_PID" ]; then
|
if [ ! -z "$SSH_AGENT_PID" ]; then
|
||||||
|
echo "Var Set"
|
||||||
ssh-agent -k
|
ssh-agent -k
|
||||||
exit $?
|
exit $?
|
||||||
elif [ -f "/tmp/ssh-agent-id" ]; then
|
elif [ -f "/tmp/ssh-agent-id" ]; then
|
||||||
|
echo "File Exists"
|
||||||
SSH_AGENT_PID=$(cat /tmp/ssh-agent-id)
|
SSH_AGENT_PID=$(cat /tmp/ssh-agent-id)
|
||||||
ssh-agent -k
|
ssh-agent -k
|
||||||
exit $?
|
exit $?
|
||||||
|
|
Loading…
Reference in New Issue