From: Todd C. Miller Date: Sun, 5 Aug 2018 02:02:00 +0000 (-0600) Subject: Assign short_list true, not 1 now that it is a boolean. X-Git-Tag: SUDO_1_8_24^2~19 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=413b53cda3baf6de88520a83942a2eea05111683;p=sudo Assign short_list true, not 1 now that it is a boolean. --- 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) {