debug_return_int use error

This commit is contained in:
wanglujun
2022-12-23 10:52:01 +08:00
parent 3040bf54c9
commit 5c495b5fef

View File

@@ -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();