diff options
author | 2001-01-13 18:43:31 +0000 | |
---|---|---|
committer | 2001-01-13 18:43:31 +0000 | |
commit | 28786063c4ab7b9c4fe3c808d383a5e57fe70efa (patch) | |
tree | c4adde7dabb4a6e9a20e381337f8b1d71c40a8bf | |
parent | fix comment (diff) | |
download | wireguard-openbsd-28786063c4ab7b9c4fe3c808d383a5e57fe70efa.tar.xz wireguard-openbsd-28786063c4ab7b9c4fe3c808d383a5e57fe70efa.zip |
Wall
-rw-r--r-- | usr.bin/ssh/session.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/session.c b/usr.bin/ssh/session.c index ec250f519b1..cb857a748f9 100644 --- a/usr.bin/ssh/session.c +++ b/usr.bin/ssh/session.c @@ -33,7 +33,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: session.c,v 1.47 2001/01/13 18:32:50 markus Exp $"); +RCSID("$OpenBSD: session.c,v 1.48 2001/01/13 18:43:31 markus Exp $"); #include "xmalloc.h" #include "ssh.h" @@ -494,7 +494,7 @@ do_exec_no_pty(Session *s, const char *command, struct passwd * pw) packet_disconnect("fork failed: %.100s", strerror(errno)); s->pid = pid; /* Set interactive/non-interactive mode. */ - packet_set_interactive(s->display); + packet_set_interactive(s->display != NULL); #ifdef USE_PIPES /* We are the parent. Close the child sides of the pipes. */ close(pin[0]); |