Skip to content

Commit

Permalink
Merge pull request #3 from barrbrain/patch-1
Browse files Browse the repository at this point in the history
ssh-copy-id.sh: empty ssh-agent on Snow Leopard
  • Loading branch information
beautifulcode committed May 30, 2013
2 parents 88d193b + 8b0c9c5 commit 17ee6f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssh-copy-id.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ if [ "-i" = "$1" ]; then
fi
else
if [ x$SSH_AUTH_SOCK != x ] ; then
GET_ID="$GET_ID ssh-add -L"
GET_ID="$GET_ID ssh-add -L | grep -vxF 'The agent has no identities.'"
fi
fi

Expand Down

0 comments on commit 17ee6f9

Please sign in to comment.