Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Dec 2014 10:37:18 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r275755 - head/usr.sbin/autofs
Message-ID:  <201412141037.sBEAbIZG093617@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 }
 
 /*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412141037.sBEAbIZG093617>