diff options
author | Damien Miller <djm@mindrot.org> | 2011-06-20 14:43:31 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2011-06-20 14:43:31 +1000 |
commit | 4ac99c366cc1c2afacabc1a8df560aaee5a07b98 (patch) | |
tree | 149f49428c01329c7c2543759856b37919484ef0 /clientloop.c | |
parent | 33322127ec41b04e380123d2ed4ae1df20bf18cc (diff) |
- 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
Diffstat (limited to 'clientloop.c')
-rw-r--r-- | clientloop.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/clientloop.c b/clientloop.c index ed1d8a23..7b7349bd 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 */ |