version 1.246, 2012/09/07 01:10:21 |
version 1.247, 2012/09/07 06:34:21 |
|
|
if (options.control_path != NULL && muxserver_sock != -1) |
if (options.control_path != NULL && muxserver_sock != -1) |
unlink(options.control_path); |
unlink(options.control_path); |
/* |
/* |
* If we are in persist mode, signal that we should close when all |
* If we are in persist mode, or don't have a shell, signal that we |
* active channels are closed. |
* should close when all active channels are closed. |
*/ |
*/ |
if (options.control_persist) { |
if (options.control_persist || no_shell_flag) { |
session_closed = 1; |
session_closed = 1; |
setproctitle("[stopped mux]"); |
setproctitle("[stopped mux]"); |
} |
} |