From: Arran Cudbard-Bell Date: Sun, 29 Aug 2021 00:10:09 +0000 (-0500) Subject: ...and one more X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5bd08915b814e67f680f410af7a05f4941533a2;p=thirdparty%2Ffreeradius-server.git ...and one more --- diff --git a/src/lib/server/exec.c b/src/lib/server/exec.c index 83088cdc50e..152325ebebb 100644 --- a/src/lib/server/exec.c +++ b/src/lib/server/exec.c @@ -982,7 +982,7 @@ static void exec_waitpid(fr_event_list_t *el, UNUSED pid_t pid, int status, void exec->status = WEXITSTATUS(wait_status); if (exec->status != status) RWDEBUG("Exit status from waitpid (%d) and kevent (%d) disagree", - wait_status, status); + exec->status, status); } else if (WIFSIGNALED(wait_status)) { RDEBUG("Program exited due to signal with status code %d", WTERMSIG(wait_status)); exec->status = -WTERMSIG(wait_status);