mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Issue #50254 fixed
This commit is contained in:
parent
1ab59e7e48
commit
342786bdc3
1 changed files with 2 additions and 0 deletions
|
@ -1694,6 +1694,8 @@ def _starts_till(src, probe, strip_comments=True):
|
|||
if not src or not probe:
|
||||
return no_match
|
||||
|
||||
src = src.rstrip('\n\r')
|
||||
probe = probe.rstrip('\n\r')
|
||||
if src == probe:
|
||||
return equal
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue