From 1916e8ec907b9886a368042c4e4fc2b6875316a0 Mon Sep 17 00:00:00 2001 From: jeromew Date: Thu, 5 Dec 2013 17:07:24 -0500 Subject: [PATCH] user module: force= and remove= should not be mutually exclusive --- library/system/user | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/system/user b/library/system/user index 60521633afb..48bcf751716 100644 --- a/library/system/user +++ b/library/system/user @@ -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)