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

Collapse All | Expand All

(-)openssh-5.9p1.orig/mux.c (+3 lines)
Lines 95-100 Link Here
95
extern volatile sig_atomic_t quit_pending;
95
extern volatile sig_atomic_t quit_pending;
96
extern char *stdio_forward_host;
96
extern char *stdio_forward_host;
97
extern int stdio_forward_port;
97
extern int stdio_forward_port;
98
extern int fork_after_authentication_flag;
98
99
99
/* Context for session open confirmation callback */
100
/* Context for session open confirmation callback */
100
struct mux_session_confirm_ctx {
101
struct mux_session_confirm_ctx {
Lines 1736-1741 Link Here
1736
	if (tty_flag)
1737
	if (tty_flag)
1737
		enter_raw_mode(options.request_tty == REQUEST_TTY_FORCE);
1738
		enter_raw_mode(options.request_tty == REQUEST_TTY_FORCE);
1738
1739
1740
	if (fork_after_authentication_flag)
1741
		daemon(1, 1);
1739
	/*
1742
	/*
1740
	 * Stick around until the controlee closes the client_fd.
1743
	 * Stick around until the controlee closes the client_fd.
1741
	 * Before it does, it is expected to write an exit message.
1744
	 * Before it does, it is expected to write an exit message.

Return to bug 1948