git://git.iain.cx/iain
/
profile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bc7cef
)
Remove stale agent socket.
author
Iain Patterson
<me@iain.cx>
Sat, 17 Mar 2007 09:12:15 +0000
(09:12 +0000)
committer
Iain Patterson
<me@iain.cx>
Sat, 17 Mar 2007 09:12:15 +0000
(09:12 +0000)
git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@39
6be0d1a5
-5cfe-0310-89b6-
964be062b18b
.profile.d/ssh.bashrc
patch
|
blob
|
history
diff --git
a/.profile.d/ssh.bashrc
b/.profile.d/ssh.bashrc
index
4674bfc
..
1e02b1c
100644
(file)
--- a/
.profile.d/ssh.bashrc
+++ b/
.profile.d/ssh.bashrc
@@
-19,6
+19,7
@@
if [ $UID -gt 0 ]; then
unset SSH_AGENT_PID
unset SSH_AUTH_SOCK
# Start ssh-agent up then.
+ rm -f "$SOCKET"
eval $(/usr/bin/ssh-agent -a "$SOCKET" -s)
trap "kill $SSH_AGENT_PID" 0
ssh-add