mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-24 02:44:38 +01:00
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
83d7eb544c
commit
da0ba09710
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=275755
@ -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