]> granicus.if.org Git - sudo/commitdiff
Assign short_list true, not 1 now that it is a boolean.
authorTodd C. Miller <Todd.Miller@sudo.ws>
Sun, 5 Aug 2018 02:02:00 +0000 (20:02 -0600)
committerTodd C. Miller <Todd.Miller@sudo.ws>
Sun, 5 Aug 2018 02:02:00 +0000 (20:02 -0600)
plugins/sudoers/policy.c

index d71a3c4bb8f1a11430d82f72d0cb763fb2661b7f..ca8e1c8bd1961b34362848a8165f2ce831b16daf 100644 (file)
@@ -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) {