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

(cherry picked from commit f0463befc7)
This commit is contained in:
Dennis Conrad 2018-07-13 12:14:40 +01:00 committed by Matt Clay
parent cbebcc3ac8
commit f5053506d9
2 changed files with 3 additions and 1 deletions

View file

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

View file

@ -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