diff options
author | trasz <trasz@FreeBSD.org> | 2014-12-14 10:37:17 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2014-12-14 10:37:17 +0000 |
commit | 1660bc111a05cbe86286f0daef65bc8e4c9564ab (patch) | |
tree | f8ca6b0afb26b17d090d594b313a1a2090033524 /usr.sbin/autofs | |
parent | 3e18aeb7c27fa002c8515387a095c421923e856e (diff) | |
download | FreeBSD-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.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); } /* |