From f8a45e8a54ab410a0eb8d98eed966077ec946f75 Mon Sep 17 00:00:00 2001 From: binlingyu Date: Sun, 25 Jun 2023 11:15:17 +0800 Subject: [PATCH] Modify the is_script function for match_command.c --- plugins/sudoers/match_command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/sudoers/match_command.c b/plugins/sudoers/match_command.c index 288541f8e..fec1f0ced 100644 --- a/plugins/sudoers/match_command.c +++ b/plugins/sudoers/match_command.c @@ -163,7 +163,7 @@ is_script(int fd) if (magic[0] == '#' && magic[1] == '!') ret = true; } - debug_return_int(ret); + debug_return_bool(ret); } /*