Fix spurious "child process X terminated with exit status 1" messages

from automountd(8).

MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Edward Tomasz Napierala 2014-12-14 10:37:17 +00:00
parent 83d7eb544c
commit da0ba09710
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=275755

View File

@ -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);
}
/*