diff options
| author | Daniel O'Callaghan <danny@FreeBSD.org> | 1998-02-24 22:18:18 +0000 |
|---|---|---|
| committer | Daniel O'Callaghan <danny@FreeBSD.org> | 1998-02-24 22:18:18 +0000 |
| commit | f89ede28f47327b9213b12393fd22464712e0871 (patch) | |
| tree | 0aa85e95fd44b8a0499a7ab5f0c62793dbcf6389 /libexec | |
| parent | ad423c383ca134c749c61f763954ec22ebcec9c4 (diff) | |
Notes
Diffstat (limited to 'libexec')
| -rw-r--r-- | libexec/ftpd/popen.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libexec/ftpd/popen.c b/libexec/ftpd/popen.c index c761446fe27e..960f1d1b2294 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$"; + "$Id: popen.c,v 1.4.2.3 1997/12/12 07:20:37 charnier Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -56,6 +56,8 @@ static const char rcsid[] = #include "extern.h" #ifdef INTERNAL_LS #include "pathnames.h" +#include <syslog.h> +#include <varargs.h> #endif #define MAXUSRARGS 100 @@ -146,6 +148,8 @@ ftpd_popen(program, type) extern int optreset; /* Reset getopt for ls_main() */ optreset = optind = optopt = 1; + /* Close syslogging to remove pwd.db missing msgs */ + closelog(); exit(ls_main(gargc, gargv)); } #endif |
