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:
parent
3e18aeb7c2
commit
1660bc111a
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user