]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
...and one more
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sun, 29 Aug 2021 00:10:09 +0000 (19:10 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sun, 29 Aug 2021 00:10:09 +0000 (19:10 -0500)
src/lib/server/exec.c

index 83088cdc50eec34a7d2d28c6533213166fd78fea..152325ebebb6ea6d321e4e0fd1dac0c59f29f178 100644 (file)
@@ -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);