diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 1998-05-15 16:30:46 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 1998-05-15 16:30:46 +0000 |
| commit | cb277ac3c8d6e49518f1af67de5c350c1bc6a21a (patch) | |
| tree | 501ca03efeb97e4557ab8985aa7ebefb03a58627 /libexec | |
| parent | dafa9879c046a89439e3ba49ece7cebf6dc841c4 (diff) | |
Notes
Diffstat (limited to 'libexec')
| -rw-r--r-- | libexec/ftpd/popen.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libexec/ftpd/popen.c b/libexec/ftpd/popen.c index 355ce17f1c18..a8e4ec8d81bc 100644 --- a/libexec/ftpd/popen.c +++ b/libexec/ftpd/popen.c @@ -39,7 +39,7 @@ static char sccsid[] = "@(#)popen.c 8.3 (Berkeley) 4/6/94"; #endif static const char rcsid[] = - "$Id: popen.c,v 1.4.2.4 1998/02/24 22:18:18 danny Exp $"; + "$Id: popen.c,v 1.4.2.5 1998/05/15 16:09:38 ache Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -118,10 +118,8 @@ ftpd_popen(program, type) iop = NULL; #ifdef INTERNAL_LS fflush(NULL); - pid = (strcmp(gargv[0], _PATH_LS) == 0) ? fork() : vfork(); -#else - pid = vfork(); #endif + pid = fork(); switch(pid) { case -1: /* error */ (void)close(pdes[0]); |
