mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
be permissive with BSD with service enabled upper/lower/mixed cases
Signed-off-by: Brian Coca <briancoca+ansible@gmail.com>
This commit is contained in:
parent
3ec043ec17
commit
46dfe07181
1 changed files with 1 additions and 1 deletions
|
@ -325,7 +325,7 @@ class Service(object):
|
||||||
if len(rcarray) >= 1 and '=' in rcarray[0]:
|
if len(rcarray) >= 1 and '=' in rcarray[0]:
|
||||||
(key, value) = rcarray[0].split("=", 1)
|
(key, value) = rcarray[0].split("=", 1)
|
||||||
if key == self.rcconf_key:
|
if key == self.rcconf_key:
|
||||||
if value == self.rcconf_value:
|
if value.upper() == self.rcconf_value:
|
||||||
# Since the proper entry already exists we can stop iterating.
|
# Since the proper entry already exists we can stop iterating.
|
||||||
changed = False
|
changed = False
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in a new issue