diff --git a/src/exec_pty.c b/src/exec_pty.c index 11afd59a7..c7fb6b1c8 100644 --- a/src/exec_pty.c +++ b/src/exec_pty.c @@ -1167,7 +1167,7 @@ exec_pty(struct command_details *details, struct command_status *cstat) /* Check for early termination or suspend signals before we fork. */ if (sudo_terminated(cstat)) { sigprocmask(SIG_SETMASK, &oset, NULL); - debug_return_int(true); + debug_return_bool(true); } ec.monitor_pid = sudo_debug_fork();