remove uneeded module
This commit is contained in:
parent
d194e2c788
commit
a1a5dadef6
1 changed files with 1 additions and 1 deletions
|
@ -575,7 +575,7 @@ class Facts(object):
|
|||
self.facts['service_mgr'] = 'svcs'
|
||||
elif self.facts['system'] == 'Linux':
|
||||
|
||||
if self._check_systemd(module):
|
||||
if self._check_systemd():
|
||||
self.facts['service_mgr'] = 'systemd'
|
||||
elif module.get_bin_path('initctl') and os.path.exists("/etc/init/"):
|
||||
self.facts['service_mgr'] = 'upstart'
|
||||
|
|
Loading…
Reference in a new issue