Added options.bashrc for shopt stuff.
[profile.git] / .profile.d / ssh.bashrc
index 4674bfc..1e02b1c 100644 (file)
@@ -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