summaryrefslogtreecommitdiffstats
path: root/usr.sbin/autofs
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2014-12-14 10:37:17 +0000
committertrasz <trasz@FreeBSD.org>2014-12-14 10:37:17 +0000
commit1660bc111a05cbe86286f0daef65bc8e4c9564ab (patch)
treef8ca6b0afb26b17d090d594b313a1a2090033524 /usr.sbin/autofs
parent3e18aeb7c27fa002c8515387a095c421923e856e (diff)
downloadFreeBSD-src-1660bc111a05cbe86286f0daef65bc8e4c9564ab.zip
FreeBSD-src-1660bc111a05cbe86286f0daef65bc8e4c9564ab.tar.gz
Fix spurious "child process X terminated with exit status 1" messages
from automountd(8). MFC after: 1 month Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'usr.sbin/autofs')
-rw-r--r--usr.sbin/autofs/automountd.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/usr.sbin/autofs/automountd.c b/usr.sbin/autofs/automountd.c
index 44143e5..ff60a99 100644
--- a/usr.sbin/autofs/automountd.c
+++ b/usr.sbin/autofs/automountd.c
@@ -82,14 +82,8 @@ done(int request_error, bool wildcards)
request_id, request_error);
error = ioctl(autofs_fd, AUTOFSDONE, &add);
- if (error != 0) {
- /*
- * Do this instead of log_err() to avoid calling
- * done() again with error, from atexit handler.
- */
+ if (error != 0)
log_warn("AUTOFSDONE");
- }
- quick_exit(1);
}
/*
OpenPOWER on IntegriCloud