Kill SSH agent on logout

This commit is contained in:
hjp 2001-12-10 11:56:24 +00:00
parent 6c893eeee0
commit 3efda60491
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
if [[ -a ~/Dont_forget ]]
if [ -n "$SSH_AGENT_PID" ]
then
less ~/Dont_forget
kill "$SSH_AGENT_PID"
fi