=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/mux.c,v retrieving revision 1.90 retrieving revision 1.91 diff -u -r1.90 -r1.91 --- src/usr.bin/ssh/mux.c 2021/07/13 23:48:36 1.90 +++ src/usr.bin/ssh/mux.c 2021/07/23 04:00:59 1.91 @@ -1,4 +1,4 @@ -/* $OpenBSD: mux.c,v 1.90 2021/07/13 23:48:36 djm Exp $ */ +/* $OpenBSD: mux.c,v 1.91 2021/07/23 04:00:59 djm Exp $ */ /* * Copyright (c) 2002-2008 Damien Miller * @@ -58,7 +58,6 @@ /* from ssh.c */ extern int tty_flag; extern Options options; -extern int stdin_null_flag; extern char *host; extern struct sshbuf *command; extern volatile sig_atomic_t quit_pending; @@ -1860,7 +1859,7 @@ ssh_signal(SIGPIPE, SIG_IGN); - if (stdin_null_flag && stdfd_devnull(1, 0, 0) == -1) + if (options.stdin_null && stdfd_devnull(1, 0, 0) == -1) fatal_f("stdfd_devnull failed"); if ((term = lookup_env_in_list("TERM", options.setenv, @@ -2082,7 +2081,7 @@ ssh_signal(SIGPIPE, SIG_IGN); - if (stdin_null_flag && stdfd_devnull(1, 0, 0) == -1) + if (options.stdin_null && stdfd_devnull(1, 0, 0) == -1) fatal_f("stdfd_devnull failed"); if ((m = sshbuf_new()) == NULL)