Update the group database before flushing the nscd caches.

This commit is contained in:
nekral-guest
2007-11-16 23:29:41 +00:00
parent 0325483ee4
commit 7ecdf9b71f
3 changed files with 9 additions and 3 deletions

View File

@@ -1529,12 +1529,12 @@ int main (int argc, char **argv)
usr_update ();
close_files ();
nscd_flush_cache ("passwd");
nscd_flush_cache ("group");
if (Gflg || lflg)
grp_err = grp_update ();
nscd_flush_cache ("passwd");
nscd_flush_cache ("group");
if (mflg)
move_home ();