2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-30 22:05:46 +00:00

Convert two debug_return_int to debug_return_bool.

This commit is contained in:
Todd C. Miller
2015-05-07 10:40:46 -06:00
parent caf5d45e0f
commit eea4e1afd9

View File

@@ -576,14 +576,14 @@ send_mail(const char *fmt, ...)
/* Make sure the mailer exists and is a regular file. */
if (stat(def_mailerpath, &sb) != 0 || !S_ISREG(sb.st_mode))
debug_return_int(false);
debug_return_bool(false);
/* Fork and return, child will daemonize. */
switch (pid = sudo_debug_fork()) {
case -1:
/* Error. */
sudo_warn(U_("unable to fork"));
debug_return_int(false);
debug_return_bool(false);
break;
case 0:
/* Child. */