From 413b53cda3baf6de88520a83942a2eea05111683 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sat, 4 Aug 2018 20:02:00 -0600 Subject: [PATCH] Assign short_list true, not 1 now that it is a boolean. --- plugins/sudoers/policy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/sudoers/policy.c b/plugins/sudoers/policy.c index d71a3c4bb..ca8e1c8bd 100644 --- a/plugins/sudoers/policy.c +++ b/plugins/sudoers/policy.c @@ -905,7 +905,7 @@ sudoers_policy_list(int argc, char * const argv[], int verbose, else SET(sudo_mode, MODE_LIST); if (!verbose) - short_list = 1; + short_list = true; if (list_user) { list_pw = sudo_getpwnam(list_user); if (list_pw == NULL) { -- 2.40.0