summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2015-03-07 19:39:16 +0000
committertrasz <trasz@FreeBSD.org>2015-03-07 19:39:16 +0000
commitb6b4fa466d1bbb87d87e1749876b3ac34e422dfe (patch)
tree7022317599d7052b3e89ff394934b0698b4bd5ff /usr.sbin
parent1fbf58cee98e23d69f8bd11d2038910d33b4eee5 (diff)
downloadFreeBSD-src-b6b4fa466d1bbb87d87e1749876b3ac34e422dfe.zip
FreeBSD-src-b6b4fa466d1bbb87d87e1749876b3ac34e422dfe.tar.gz
MFC r275755:
Fix spurious "child process X terminated with exit status 1" messages from automountd(8). Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'usr.sbin')
-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