* src/useradd.c, src/usermod.c: Only call selinux_update_mapping()
if Zflg is set.
This commit is contained in:
@ -2003,7 +2003,9 @@ int main (int argc, char **argv)
|
||||
close_files ();
|
||||
|
||||
#ifdef WITH_SELINUX
|
||||
selinux_update_mapping ();
|
||||
if (Zflg) {
|
||||
selinux_update_mapping ();
|
||||
}
|
||||
#endif
|
||||
|
||||
nscd_flush_cache ("passwd");
|
||||
|
Reference in New Issue
Block a user