summaryrefslogtreecommitdiffstats
path: root/bashrc
diff options
context:
space:
mode:
Diffstat (limited to 'bashrc')
-rw-r--r--bashrc/common/ssh-agent-forwarding.sh2
1 files changed, 1 insertions, 1 deletions
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" | \