Fixes #42734 - typo in update-rc.d detection
(cherry picked from commit f0463befc7
)
This commit is contained in:
parent
cbebcc3ac8
commit
f5053506d9
2 changed files with 3 additions and 1 deletions
2
changelogs/fragments/fix_sysvinit_typo.yml
Normal file
2
changelogs/fragments/fix_sysvinit_typo.yml
Normal file
|
@ -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…
Reference in a new issue