Fix agent_is_started.
This commit is contained in:
parent
ceeb86bbcc
commit
7d621574ba
|
@ -7,6 +7,6 @@ function __ssh_agent_is_started -d "check if ssh agent is already started"
|
||||||
return 1
|
return 1
|
||||||
end
|
end
|
||||||
|
|
||||||
ps -ef | grep $SSH_AGENT_PID | grep -v grep | grep ssh-agent > /dev/null
|
ps -ef | grep $SSH_AGENT_PID | grep -v grep | grep -q ssh-agent
|
||||||
return $status
|
return $status
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue