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