Merge pull request #772 from gottwald/devel-serviceFix

Fixed a Bug in the service module "state changed" recognition
This commit is contained in:
Michael DeHaan 2012-08-02 08:49:30 -07:00
commit f6dccb7809

View file

@ -158,8 +158,6 @@ def main():
if module.params['enabled']: if module.params['enabled']:
rc_enable, out_enable, err_enable = _do_enable(name, enable) rc_enable, out_enable, err_enable = _do_enable(name, enable)
if rc == 0:
changed = True
rc += rc_enable rc += rc_enable
out += out_enable out += out_enable
err += err_enable err += err_enable