mirror of https://github.com/ansible/ansible.git
Fix traceback in service module when svc_cmd is None (2nd fix)
When service module is used on unsupported Linux system where init
script is used directly, LinuxService.svc_cmd is None so .endswith()
fails.
This extends fix from e2f20db534
also
for state=restarted.
Fixes issue #3533
reviewable/pr18780/r1
parent
2e649d21af
commit
f82d3f7fa9
Loading…
Reference in New Issue