Fixes #42734 - typo in update-rc.d detection

(cherry picked from commit f0463befc7)
pull/42737/merge
Dennis Conrad 6 years ago committed by Matt Clay
parent cbebcc3ac8
commit f5053506d9

@ -0,0 +1,2 @@
bugfixes:
- fix typoe in sysvinit that breaks update.rc-d detection https://github.com/ansible/ansible/issues/42734

@ -155,7 +155,7 @@ def main():
# locate binaries for service management
paths = ['/sbin', '/usr/sbin', '/bin', '/usr/bin']
binaries = ['chkconfig', ' update-rc.d', 'insserv', 'service']
binaries = ['chkconfig', 'update-rc.d', 'insserv', 'service']
# Keeps track of the service status for various runlevels because we can
# operate on multiple runlevels at once

Loading…
Cancel
Save