Permalink
Browse files

fix ssh-agent

  • Loading branch information...
1 parent dcb6621 commit 38c2ff8e3e9fb6a32db73f98421b13368a86c02d @mwhooker committed Feb 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 S70-ssh
View
@@ -2,7 +2,7 @@
AGENT_FILE="${HOME}/bin/agent-env"
-ps -x -u ${USER} | egrep -q "[s]sh-agent"
+ps ux | grep ssh-agent | grep $USER | egrep -q "[s]sh-agent"
if [[ $? != 0 ]]; then
echo "creating ssh-agent in $AGENT_FILE"

0 comments on commit 38c2ff8

Please sign in to comment.