Fixed a Bug in the service module state changed recognition
This commit is contained in:
parent
1f2de09530
commit
c09685a241
1 changed files with 0 additions and 2 deletions
2
service
2
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
|
||||
|
|
Loading…
Reference in a new issue