diff options
author | 2000-03-06 20:29:04 +0000 | |
---|---|---|
committer | 2000-03-06 20:29:04 +0000 | |
commit | 2be24c1c26d28e6a25cba1273534ccc78274cd2f (patch) | |
tree | 2eb1405a5ba85d2cca565fbda02735254cd775ea | |
parent | sync (diff) | |
download | wireguard-openbsd-2be24c1c26d28e6a25cba1273534ccc78274cd2f.tar.xz wireguard-openbsd-2be24c1c26d28e6a25cba1273534ccc78274cd2f.zip |
fix pr 1113, fclose() -> pclose(), todo: remote popen()
-rw-r--r-- | usr.bin/ssh/sshd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/sshd.c b/usr.bin/ssh/sshd.c index 236b08c3bce..dd57e81ab54 100644 --- a/usr.bin/ssh/sshd.c +++ b/usr.bin/ssh/sshd.c @@ -11,7 +11,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: sshd.c,v 1.89 2000/02/28 19:40:23 markus Exp $"); +RCSID("$OpenBSD: sshd.c,v 1.90 2000/03/06 20:29:04 markus Exp $"); #include "xmalloc.h" #include "rsa.h" @@ -2462,7 +2462,7 @@ do_child(const char *command, struct passwd * pw, const char *term, f = popen(XAUTH_PATH " -q -", "w"); if (f) { fprintf(f, "add %s %s %s\n", display, auth_proto, auth_data); - fclose(f); + pclose(f); } else fprintf(stderr, "Could not run %s -q -\n", XAUTH_PATH); } |