diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2001-01-13 18:43:32 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2001-01-13 18:43:32 +0000 |
commit | 943e6d47590b5b9bb7f58f9e645291b89ed252c7 (patch) | |
tree | 8eb0d7393a9492bfe37eecfd426ed43568bd2683 /usr.bin | |
parent | 8c073ab0a61a6f2d6e25cdbd5cf94658e7ace237 (diff) |
Wall
Diffstat (limited to 'usr.bin')
-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]); |