From 5c495b5fef66fab556ba2d13de99dc8f4c4b9f4d Mon Sep 17 00:00:00 2001 From: wanglujun Date: Fri, 23 Dec 2022 10:52:01 +0800 Subject: [PATCH] debug_return_int use error --- src/exec_pty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();