mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-05 21:54:22 -07:00
no need to init None to None
This commit is contained in:
parent
6949a9fbe4
commit
d3a2b1dbbb
1 changed files with 0 additions and 1 deletions
|
@ -390,7 +390,6 @@ class LinuxService(Service):
|
||||||
break
|
break
|
||||||
|
|
||||||
# Locate a tool for runtime service management (start, stop etc.)
|
# Locate a tool for runtime service management (start, stop etc.)
|
||||||
self.svc_cmd = None
|
|
||||||
if location.get('service', None) and os.path.exists("/etc/init.d/%s" % self.name):
|
if location.get('service', None) and os.path.exists("/etc/init.d/%s" % self.name):
|
||||||
# SysV init script
|
# SysV init script
|
||||||
self.svc_cmd = location['service']
|
self.svc_cmd = location['service']
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue