bashrc: fix bash redirection order to avoid error message - thanks Mike

This commit is contained in:
Josh Holtrop 2012-03-22 14:49:27 -04:00
parent 7e1a61e606
commit 332dad74be

2
bashrc
View File

@ -12,7 +12,7 @@ if [ -e /bin/cygwin1.dll ]; then
export SSH_AUTH_SOCK=/tmp/.ssh_socket export SSH_AUTH_SOCK=/tmp/.ssh_socket
ssh-add -l 2>&1 >/dev/null ssh-add -l >/dev/null 2>&1
if [ $? = 2 ]; then if [ $? = 2 ]; then
# exit status 2 means we couldn't connect to ssh-agent, # exit status 2 means we couldn't connect to ssh-agent,