diff options
author | trasz <trasz@FreeBSD.org> | 2015-03-07 19:39:16 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2015-03-07 19:39:16 +0000 |
commit | b6b4fa466d1bbb87d87e1749876b3ac34e422dfe (patch) | |
tree | 7022317599d7052b3e89ff394934b0698b4bd5ff /usr.sbin | |
parent | 1fbf58cee98e23d69f8bd11d2038910d33b4eee5 (diff) | |
download | FreeBSD-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.c | 8 |
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); } /* |