Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Oct 2015 18:41:39 GMT
From:      def@FreeBSD.org
To:        svn-soc-all@FreeBSD.org
Subject:   socsvn commit: r293089 - soc2013/def/crashdump-head/sbin/decryptcore
Message-ID:  <201510261841.t9QIfd0X029085@socsvn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: def
Date: Mon Oct 26 18:41:39 2015
New Revision: 293089
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=293089

Log:
  Wait until a child process exits.

Modified:
  soc2013/def/crashdump-head/sbin/decryptcore/decryptcore.c

Modified: soc2013/def/crashdump-head/sbin/decryptcore/decryptcore.c
==============================================================================
--- soc2013/def/crashdump-head/sbin/decryptcore/decryptcore.c	Mon Oct 26 17:49:13 2015	(r293088)
+++ soc2013/def/crashdump-head/sbin/decryptcore/decryptcore.c	Mon Oct 26 18:41:39 2015	(r293089)
@@ -30,7 +30,7 @@
 {
 	int status;
 
-	if (waitpid(pid, &status, WNOHANG | WUNTRACED | WEXITED) == -1) {
+	if (waitpid(pid, &status, WUNTRACED | WEXITED) == -1) {
 		pjdlog_errno(LOG_ERR, "Unable to wait for a child process");
 		goto failed;
 	}



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