* src/useradd.c, src/usermod.c: Only call selinux_update_mapping()

if Zflg is set.
This commit is contained in:
nekral-guest
2009-04-11 16:47:32 +00:00
parent 192fa18195
commit 3fdefd3e40
3 changed files with 11 additions and 2 deletions

View File

@ -1759,7 +1759,9 @@ int main (int argc, char **argv)
nscd_flush_cache ("group");
#ifdef WITH_SELINUX
selinux_update_mapping ();
if (Zflg) {
selinux_update_mapping ();
}
#endif
if (mflg) {