summaryrefslogtreecommitdiff
path: root/libexec/ftpd
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1998-06-08 16:55:35 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1998-06-08 16:55:35 +0000
commit503cfb3b7d8ba1f4a1662a1ecb77832551c23278 (patch)
treea0bb68e124b9bd5a0d5897dc2d75da4dcb715a5c /libexec/ftpd
parentf29eee339fbe275e25d40ae0409dd951b30cf44b (diff)
allow ftpchroot-ed users to also be multihomed
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. */