Skip to content

Commit

Permalink
Merge pull request #354 from yast/clean-internal-data-after-deletion
Browse files Browse the repository at this point in the history
Flush deleted users and groups after each write
  • Loading branch information
dgdavid committed Nov 10, 2021
2 parents 75cbac7 + 64eac47 commit 34d8aac
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/modules/Users.pm
Original file line number Diff line number Diff line change
Expand Up @@ -4426,6 +4426,10 @@ sub Write {
$users_modified = 0;
$groups_modified = 0;

# Reset lists of removed elements
%removed_users = ();
%removed_groups = ();

return $ret;
}

Expand Down

0 comments on commit 34d8aac

Please sign in to comment.