aboutsummaryrefslogtreecommitdiff
path: root/libexec/ftpd
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1998-05-15 16:30:09 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1998-05-15 16:30:09 +0000
commitf85f9e565634ebb158d1c55395f551d28ed860fe (patch)
tree307968bb0a6aa4e1eda3a73a20ce5f8be8a73172 /libexec/ftpd
parent46589cb6249a72ec1bf3873be9b5d1f18e5cd3fd (diff)
Notes
Diffstat (limited to 'libexec/ftpd')
-rw-r--r--libexec/ftpd/popen.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libexec/ftpd/popen.c b/libexec/ftpd/popen.c
index d8b91cdfa686..e7e4fbf51150 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.11 1998/04/27 10:51:26 dg Exp $";
+ "$Id: popen.c,v 1.12 1998/05/15 16:08:52 ache Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -120,10 +120,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]);