mirror of
https://github.com/danhper/fish-ssh-agent.git
synced 2025-10-10 04:11:00 +00:00
Fix agent_is_started.
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user