diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-09-20 22:40:36 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-09-20 22:40:36 +0000 |
commit | dab14b4db0846344b96d59b21fb17b0ba7f16df1 (patch) | |
tree | 8cadd6585c54a45525c2b3bde3829258a28c1137 /sbin | |
parent | 22fcca33853941d5508fb8a6c1a717754315a88f (diff) |
if we must un-export, only un-export when we do the first call for
each filesystem; ok drahn, specific issue found by otto
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/mountd/mountd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/mountd/mountd.c b/sbin/mountd/mountd.c index afb3c7c0886..ccafd46e7ac 100644 --- a/sbin/mountd/mountd.c +++ b/sbin/mountd/mountd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mountd.c,v 1.64 2005/09/13 02:53:28 drahn Exp $ */ +/* $OpenBSD: mountd.c,v 1.65 2005/09/20 22:40:35 deraadt Exp $ */ /* $NetBSD: mountd.c,v 1.31 1996/02/18 11:57:53 fvdl Exp $ */ /* @@ -999,6 +999,7 @@ get_exportlist(void) * val of 1 means line is invalid (not just entry). */ i = do_mount(ep, grp, exflags, &anon, dirp, dirplen, &fsb); + exflags &= ~MNT_DELEXPORT; if (i == 1) { getexp_err(ep, tgrp); goto nextline; |