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 e2f20db5 also for state=restarted. Fixes issue #3533
Showing
Please
register
or
sign in
to comment