bundles/users: fix deletion of unneded home directories

This commit is contained in:
Franzi 2020-04-13 09:57:33 +02:00
parent 7d990a6a93
commit f701110654
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -30,7 +30,7 @@ for username, attrs in node.metadata['users'].items():
if attrs.get('delete', False):
users[username] = {'delete': True}
directories[home] = {'delete': True}
files[home] = {'delete': True}
else:
user = users.setdefault(username, {})