Last bits of enabling subuids

This patch has been carried by Debian, originally
submitted to BTS in #739981
This commit is contained in:
Micah Anderson 2017-01-18 18:06:05 +01:00 committed by Balint Reczey
parent bdd68116b7
commit 578d495f91

View File

@ -988,8 +988,8 @@ int main (int argc, char **argv)
is_shadow_grp = sgr_file_present ();
#endif
#ifdef ENABLE_SUBIDS
is_sub_uid = sub_uid_file_present ();
is_sub_gid = sub_gid_file_present ();
is_sub_uid = sub_uid_file_present () && !rflg;
is_sub_gid = sub_gid_file_present () && !rflg;
#endif /* ENABLE_SUBIDS */
open_files ();