summaryrefslogtreecommitdiff
path: root/libexec/ftpd
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/ftpd')
-rw-r--r--libexec/ftpd/ftpd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c
index 07ef4d8ea78..9b034955202 100644
--- a/libexec/ftpd/ftpd.c
+++ b/libexec/ftpd/ftpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ftpd.c,v 1.46 1998/06/03 17:44:47 deraadt Exp $ */
+/* $OpenBSD: ftpd.c,v 1.47 1998/06/08 16:55:34 mickey Exp $ */
/* $NetBSD: ftpd.c,v 1.15 1995/06/03 22:46:47 mycroft Exp $ */
/*
@@ -817,7 +817,7 @@ skip:
dochroot = checkuser(_PATH_FTPCHROOT, pw->pw_name);
if (guest || dochroot) {
- if (multihome) {
+ if (multihome && guest) {
struct stat ts;
/* Compute root directory. */