Bugzilla – Attachment 2187 Details for
Bug 1985
-N and -O stop
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
tell mux master to close when using -N and all clients gone
openbsd-ssh-mux-N.patch (text/plain), 805 bytes, created by
Darren Tucker
on 2012-09-07 15:14:44 AEST
(
hide
)
Description:
tell mux master to close when using -N and all clients gone
Filename:
MIME Type:
Creator:
Darren Tucker
Created:
2012-09-07 15:14:44 AEST
Size:
805 bytes
patch
obsolete
>Index: clientloop.c >=================================================================== >RCS file: /cvs/src/usr.bin/ssh/clientloop.c,v >retrieving revision 1.246 >diff -u -p -r1.246 clientloop.c >--- clientloop.c 7 Sep 2012 01:10:21 -0000 1.246 >+++ clientloop.c 7 Sep 2012 05:07:17 -0000 >@@ -2226,10 +2226,10 @@ client_stop_mux(void) > if (options.control_path != NULL && muxserver_sock != -1) > unlink(options.control_path); > /* >- * If we are in persist mode, signal that we should close when all >- * active channels are closed. >+ * If we are in persist mode, or don't have a shell, signal that we >+ * should close when all active channels are closed. > */ >- if (options.control_persist) { >+ if (options.control_persist || no_shell_flag) { > session_closed = 1; > setproctitle("[stopped mux]"); > }
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
Flags:
djm
:
ok+
Actions:
View
|
Diff
Attachments on
bug 1985
: 2187