socsvn commit: r293089 - soc2013/def/crashdump-head/sbin/decryptcore

def at FreeBSD.org def at FreeBSD.org
Mon Oct 26 18:41:40 UTC 2015


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;
 	}


More information about the svn-soc-all mailing list