mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-22 00:31:14 +00:00
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