Bugzilla – Attachment 2053 Details for
Bug 1911
change the proc title of a forked mux master when it was gracefully-closed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
sample implementation
proctitle-after-closing-mux.patch (text/plain), 755 bytes, created by
Bert Wesarg
on 2011-06-04 00:01:39 AEST
(
hide
)
Description:
sample implementation
Filename:
MIME Type:
Creator:
Bert Wesarg
Created:
2011-06-04 00:01:39 AEST
Size:
755 bytes
patch
obsolete
>From 220aab74efaaf971d352170f4980a639cd1c20f2 Mon Sep 17 00:00:00 2001 >Message-Id: <220aab74efaaf971d352170f4980a639cd1c20f2.1307109394.git.bert.wesarg@googlemail.com> >From: Bert Wesarg <bert.wesarg@googlemail.com> >Date: Fri, 6 May 2011 21:30:22 +0200 >Subject: [PATCH] ssh: change proc title after gracefully-closing the mux > >diff --git a/clientloop.c b/clientloop.c >index ed1d8a2..9d825d0 100644 >--- a/clientloop.c >+++ b/clientloop.c >@@ -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) { >+ setproctitle("[stopped mux]"); > session_closed = 1; >+ } > } > > /* client specific fatal cleanup */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1911
: 2053