View | Details | Raw Unified | Return to bug 1985
Collapse All | Expand All

(-)clientloop.c (-3 / +3 lines)
Lines 2226-2235 client_stop_mux(void) Link Here
2226
	if (options.control_path != NULL && muxserver_sock != -1)
2226
	if (options.control_path != NULL && muxserver_sock != -1)
2227
		unlink(options.control_path);
2227
		unlink(options.control_path);
2228
	/*
2228
	/*
2229
	 * If we are in persist mode, signal that we should close when all
2229
	 * If we are in persist mode, or don't have a shell, signal that we
2230
	 * active channels are closed.
2230
	 * should close when all active channels are closed.
2231
	 */
2231
	 */
2232
	if (options.control_persist) {
2232
	if (options.control_persist || no_shell_flag) {
2233
		session_closed = 1;
2233
		session_closed = 1;
2234
		setproctitle("[stopped mux]");
2234
		setproctitle("[stopped mux]");
2235
	}
2235
	}

Return to bug 1985