summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/clientloop.c
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2010-10-06 06:39:28 +0000
committerdjm <djm@openbsd.org>2010-10-06 06:39:28 +0000
commita0818857133278c49ff8c8d0eb5cbaf016646192 (patch)
tree251360200214c6c246c1d7039a97f8e798312277 /usr.bin/ssh/clientloop.c
parentSkip NULL entries in the sessions list when choosing the next session, (diff)
downloadwireguard-openbsd-a0818857133278c49ff8c8d0eb5cbaf016646192.tar.xz
wireguard-openbsd-a0818857133278c49ff8c8d0eb5cbaf016646192.zip
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.c3
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);
}