From 497e29a7804b5c971a59892fcb14d67b39482abd Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Sat, 7 Feb 2009 18:10:58 +0100 Subject: fixed typo --- bashrc/common/ssh-agent-forwarding.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bashrc') diff --git a/bashrc/common/ssh-agent-forwarding.sh b/bashrc/common/ssh-agent-forwarding.sh index fc43ee1..2220aaa 100644 --- a/bashrc/common/ssh-agent-forwarding.sh +++ b/bashrc/common/ssh-agent-forwarding.sh @@ -1,7 +1,7 @@ TMPFILE=$(mktemp) # cleanup old agent-sockets -if [ -r "${HOME}/.ssh-agent-forwardin" ]; then +if [ -r "${HOME}/.ssh-agent-forwarding" ]; then cut -d" " -f2 "${HOME}/.ssh-agent-forwarding" | \ xargs ls -a 2>/dev/null | \ grep -f - "${HOME}/.ssh-agent-forwarding" | \ -- cgit v1.2.3