From 2910ed02b4f83c96da283a4c33677638a170268f Mon Sep 17 00:00:00 2001 From: Jean-Francois Dockes Date: Sun, 14 Jun 2020 17:59:13 +0200 Subject: [PATCH] fix trace --- src/utils/execmd.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/utils/execmd.cpp b/src/utils/execmd.cpp index 590b910a..eb5a7603 100644 --- a/src/utils/execmd.cpp +++ b/src/utils/execmd.cpp @@ -1021,7 +1021,8 @@ bool ExecCmd::maybereap(int *status) e.inactivate(); return false; } else { - LOGDEB("ExecCmd::maybereap: got status 0x" << (status) << "\n"); + if (*status) + LOGDEB("ExecCmd::maybereap: got status 0x" << *status << "\n"); m->m_pid = -1; return true; }