diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2010-10-06 06:39:29 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2010-10-06 06:39:29 +0000 |
commit | dcf008b654ff34299b75d534300312014f4b25ad (patch) | |
tree | 5571307397e58f2b1d2e3be2c883ee9483f01b1f /usr.bin/ssh/clientloop.c | |
parent | ff8add3190a59854c40d4cb7851d88c473334a79 (diff) |
kill proxy command on fatal() (we already kill it on clean exit);
ok markus@
Diffstat (limited to 'usr.bin/ssh/clientloop.c')
-rw-r--r-- | usr.bin/ssh/clientloop.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ssh/clientloop.c b/usr.bin/ssh/clientloop.c index 263e41943c0..3a315ec01c8 100644 --- a/usr.bin/ssh/clientloop.c +++ b/usr.bin/ssh/clientloop.c @@ -1,4 +1,4 @@ -/* $OpenBSD: clientloop.c,v 1.222 2010/07/19 09:15:12 djm Exp $ */ +/* $OpenBSD: clientloop.c,v 1.223 2010/10/06 06:39:28 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -2111,5 +2111,6 @@ cleanup_exit(int i) leave_non_blocking(); if (options.control_path != NULL && muxserver_sock != -1) unlink(options.control_path); + ssh_kill_proxy_command(); _exit(i); } |