2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 06:15:37 +00:00

Assign short_list true, not 1 now that it is a boolean.

This commit is contained in:
Todd C. Miller
2018-08-04 20:02:00 -06:00
parent db387a53a6
commit 413b53cda3

View 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) {