svn commit: r279743 - stable/10/usr.sbin/autofs
Edward Tomasz Napierala
trasz at FreeBSD.org
Sat Mar 7 19:39:18 UTC 2015
Author: trasz
Date: Sat Mar 7 19:39:16 2015
New Revision: 279743
URL: https://svnweb.freebsd.org/changeset/base/279743
Log:
MFC r275755:
Fix spurious "child process X terminated with exit status 1" messages
from automountd(8).
Sponsored by: The FreeBSD Foundation
Modified:
stable/10/usr.sbin/autofs/automountd.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/usr.sbin/autofs/automountd.c
==============================================================================
--- stable/10/usr.sbin/autofs/automountd.c Sat Mar 7 19:36:06 2015 (r279742)
+++ stable/10/usr.sbin/autofs/automountd.c Sat Mar 7 19:39:16 2015 (r279743)
@@ -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);
}
/*
More information about the svn-src-all
mailing list