use_system_pw_file and use_system_spw_file were not reset.
This commit is contained in:
parent
f6e79f59be
commit
94266e1360
@ -142,11 +142,13 @@ static void process_flags (int argc, char **argv)
|
|||||||
if (optind != argc) {
|
if (optind != argc) {
|
||||||
pwd_file = argv[optind];
|
pwd_file = argv[optind];
|
||||||
pw_name (pwd_file);
|
pw_name (pwd_file);
|
||||||
|
use_system_pw_file = 0;
|
||||||
}
|
}
|
||||||
if (optind + 2 == argc) {
|
if (optind + 2 == argc) {
|
||||||
spw_file = argv[optind + 1];
|
spw_file = argv[optind + 1];
|
||||||
spw_name (spw_file);
|
spw_name (spw_file);
|
||||||
is_shadow = 1;
|
is_shadow = 1;
|
||||||
|
use_system_spw_file = 0;
|
||||||
} else if (optind == argc)
|
} else if (optind == argc)
|
||||||
is_shadow = spw_file_present ();
|
is_shadow = spw_file_present ();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user