diff options
| author | Ian Dowse <iedowse@FreeBSD.org> | 2001-05-29 17:46:52 +0000 |
|---|---|---|
| committer | Ian Dowse <iedowse@FreeBSD.org> | 2001-05-29 17:46:52 +0000 |
| commit | 5f558fa42f38616bf67fa99741a5af077e72d8d3 (patch) | |
| tree | a92e4deb78082f71b4a559ba0a5def0a56eeb7c5 /usr.sbin/mountd | |
| parent | c215688fd2a0fb3382eca314fc09b139a0c14cc0 (diff) | |
Notes
Diffstat (limited to 'usr.sbin/mountd')
| -rw-r--r-- | usr.sbin/mountd/mountd.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/mountd/mountd.c b/usr.sbin/mountd/mountd.c index 0c08f40464ef..35ea7da02a14 100644 --- a/usr.sbin/mountd/mountd.c +++ b/usr.sbin/mountd/mountd.c @@ -950,9 +950,10 @@ get_exportlist() targs.ua.fspec = NULL; targs.ua.export.ex_flags = MNT_DELEXPORT; if (mount(fsp->f_fstypename, fsp->f_mntonname, - fsp->f_flags | MNT_UPDATE, - (caddr_t)&targs) < 0) - syslog(LOG_ERR, "can't delete exports for %s", + fsp->f_flags | MNT_UPDATE, (caddr_t)&targs) < 0 && + errno != ENOENT) + syslog(LOG_ERR, + "can't delete exports for %s: %m", fsp->f_mntonname); } fsp++; |
