diff options
author | Damien Miller <djm@mindrot.org> | 2011-06-20 06:43:31 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2011-06-20 06:43:31 +0200 |
commit | 4ac99c366cc1c2afacabc1a8df560aaee5a07b98 (patch) | |
tree | 149f49428c01329c7c2543759856b37919484ef0 | |
parent | - djm@cvs.openbsd.org 2011/06/17 21:47:35 (diff) | |
download | openssh-4ac99c366cc1c2afacabc1a8df560aaee5a07b98.tar.xz openssh-4ac99c366cc1c2afacabc1a8df560aaee5a07b98.zip |
- djm@cvs.openbsd.org 2011/06/17 21:57:25
[clientloop.c]
setproctitle for a mux master that has been gracefully stopped;
bz#1911 from Bert.Wesarg AT googlemail.com
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | clientloop.c | 6 |
2 files changed, 8 insertions, 2 deletions
@@ -21,6 +21,10 @@ [servconf.c] factor out multi-choice option parsing into a parse_multistate label and some support structures; ok dtucker@ + - djm@cvs.openbsd.org 2011/06/17 21:57:25 + [clientloop.c] + setproctitle for a mux master that has been gracefully stopped; + bz#1911 from Bert.Wesarg AT googlemail.com 20110603 - (dtucker) [README version.h contrib/caldera/openssh.spec diff --git a/clientloop.c b/clientloop.c index ed1d8a238..7b7349bd7 100644 --- a/clientloop.c +++ b/clientloop.c @@ -1,4 +1,4 @@ -/* $OpenBSD: clientloop.c,v 1.234 2011/05/08 12:52:01 djm Exp $ */ +/* $OpenBSD: clientloop.c,v 1.235 2011/06/17 21:57:25 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -2157,8 +2157,10 @@ client_stop_mux(void) * If we are in persist mode, signal that we should close when all * active channels are closed. */ - if (options.control_persist) + if (options.control_persist) { session_closed = 1; + setproctitle("[stopped mux]"); + } } /* client specific fatal cleanup */ |