user module: force= and remove= should not be mutually exclusive

reviewable/pr18780/r1
jeromew 11 years ago
parent 5040665cd0
commit 5413ee9431

@ -259,7 +259,7 @@ class User(object):
cmd = [self.module.get_bin_path('userdel', True)]
if self.force:
cmd.append('-f')
elif self.remove:
if self.remove:
cmd.append('-r')
cmd.append(self.name)

Loading…
Cancel
Save