View | Details | Raw Unified | Return to bug 1948 | Differences between
and this patch

Collapse All | Expand All

(-)a/mux.c (+3 lines)
Lines 90-95 extern Buffer command; Link Here
90
extern volatile sig_atomic_t quit_pending;
90
extern volatile sig_atomic_t quit_pending;
91
extern char *stdio_forward_host;
91
extern char *stdio_forward_host;
92
extern int stdio_forward_port;
92
extern int stdio_forward_port;
93
extern int fork_after_authentication_flag;
93
94
94
/* Context for session open confirmation callback */
95
/* Context for session open confirmation callback */
95
struct mux_session_confirm_ctx {
96
struct mux_session_confirm_ctx {
Lines 1893-1898 mux_client_request_session(int fd) Link Here
1893
	rawmode = tty_flag;
1894
	rawmode = tty_flag;
1894
	if (tty_flag)
1895
	if (tty_flag)
1895
		enter_raw_mode(options.request_tty == REQUEST_TTY_FORCE);
1896
		enter_raw_mode(options.request_tty == REQUEST_TTY_FORCE);
1897
	else if (!options.control_persist && fork_after_authentication_flag)
1898
		daemon(1, 1);
1896
1899
1897
	/*
1900
	/*
1898
	 * Stick around until the controlee closes the client_fd.
1901
	 * Stick around until the controlee closes the client_fd.

Return to bug 1948