bundles/users: fix deletion of unneded home directories
This commit is contained in:
parent
7d990a6a93
commit
f701110654
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ for username, attrs in node.metadata['users'].items():
|
||||||
|
|
||||||
if attrs.get('delete', False):
|
if attrs.get('delete', False):
|
||||||
users[username] = {'delete': True}
|
users[username] = {'delete': True}
|
||||||
directories[home] = {'delete': True}
|
files[home] = {'delete': True}
|
||||||
|
|
||||||
else:
|
else:
|
||||||
user = users.setdefault(username, {})
|
user = users.setdefault(username, {})
|
||||||
|
|
Loading…
Reference in a new issue