From 5413ee94316db3480eca5a233e732a55ada8f3c0 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 --- system/user | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/user b/system/user index 60521633afb..48bcf751716 100644 --- a/system/user +++ b/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)