bashrc: fix bash redirection order to avoid error message - thanks Mike
This commit is contained in:
parent
7e1a61e606
commit
332dad74be
2
bashrc
2
bashrc
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user