Fix: ssh-agent error
This commit is contained in:
parent
ab46eae784
commit
445843d817
@ -199,9 +199,11 @@ idm_ssh__agent_clean ()
|
|||||||
#set -x
|
#set -x
|
||||||
|
|
||||||
# Remove process
|
# Remove process
|
||||||
if [ ! -z "$pid" -a "$pid" -gt 0 ]; then
|
if [ ! -z "$pid" ]; then
|
||||||
|
if [ "$pid" -gt 0 ]; then
|
||||||
kill $pid
|
kill $pid
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
# Remove socket
|
# Remove socket
|
||||||
if [ -f "$socket" ]; then
|
if [ -f "$socket" ]; then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user