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

(-)ssh.c (-1 / +1 lines)
Lines 545-551 again: Link Here
545
	if (no_tty_flag)
545
	if (no_tty_flag)
546
		tty_flag = 0;
546
		tty_flag = 0;
547
	/* Do not allocate a tty if stdin is not a tty. */
547
	/* Do not allocate a tty if stdin is not a tty. */
548
	if (!isatty(fileno(stdin)) && !force_tty_flag) {
548
	if ((!isatty(fileno(stdin)) || stdin_null_flag) && !force_tty_flag) {
549
		if (tty_flag)
549
		if (tty_flag)
550
			logit("Pseudo-terminal will not be allocated because stdin is not a terminal.");
550
			logit("Pseudo-terminal will not be allocated because stdin is not a terminal.");
551
		tty_flag = 0;
551
		tty_flag = 0;

Return to bug 829