[clientloop.c]
     setproctitle for a mux master that has been gracefully stopped;
     bz#1911 from Bert.Wesarg AT googlemail.com
This commit is contained in:
Damien Miller 2011-06-20 14:43:31 +10:00
Родитель 33322127ec
Коммит 4ac99c366c
2 изменённых файлов: 8 добавлений и 2 удалений

Просмотреть файл

@ -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

Просмотреть файл

@ -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 */