mirror of
https://github.com/sudo-project/sudo.git
synced 2025-09-04 08:15:15 +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
|
else
|
||||||
SET(sudo_mode, MODE_LIST);
|
SET(sudo_mode, MODE_LIST);
|
||||||
if (!verbose)
|
if (!verbose)
|
||||||
short_list = 1;
|
short_list = true;
|
||||||
if (list_user) {
|
if (list_user) {
|
||||||
list_pw = sudo_getpwnam(list_user);
|
list_pw = sudo_getpwnam(list_user);
|
||||||
if (list_pw == NULL) {
|
if (list_pw == NULL) {
|
||||||
|
Reference in New Issue
Block a user