diff --git a/user b/user index 1511b3aca41..64a3a2ede14 100644 --- a/user +++ b/user @@ -367,7 +367,7 @@ class User(object): if len(cmd) == 1: return (None, '', '') elif self.module.check_mode: - return (True, '', '') + return (0, '', '') cmd.append(self.name) return self.execute_command(cmd)