From c09685a241598c851b1ab0d379a4e8acc6c37401 Mon Sep 17 00:00:00 2001 From: Ingo Gottwald Date: Thu, 2 Aug 2012 17:18:25 +0200 Subject: [PATCH] Fixed a Bug in the service module state changed recognition --- service | 2 -- 1 file changed, 2 deletions(-) diff --git a/service b/service index 188ef82709b..b40f0409509 100755 --- a/service +++ b/service @@ -158,8 +158,6 @@ def main(): if module.params['enabled']: rc_enable, out_enable, err_enable = _do_enable(name, enable) - if rc == 0: - changed = True rc += rc_enable out += out_enable err += err_enable