svn commit: r275755 - head/usr.sbin/autofs

Edward Tomasz Napierala trasz at FreeBSD.org
Sun Dec 14 10:37:18 UTC 2014


Author: trasz
Date: Sun Dec 14 10:37:17 2014
New Revision: 275755
URL: https://svnweb.freebsd.org/changeset/base/275755

Log:
  Fix spurious "child process X terminated with exit status 1" messages
  from automountd(8).
  
  MFC after:	1 month
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/usr.sbin/autofs/automountd.c

Modified: head/usr.sbin/autofs/automountd.c
==============================================================================
--- head/usr.sbin/autofs/automountd.c	Sun Dec 14 09:34:55 2014	(r275754)
+++ head/usr.sbin/autofs/automountd.c	Sun Dec 14 10:37:17 2014	(r275755)
@@ -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-head mailing list