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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user