break sed search when we find a match

This commit is contained in:
jesopo 2019-12-01 08:06:56 +00:00
parent 96058a1761
commit ed7150a8b7

View file

@ -68,6 +68,7 @@ class Module(ModuleManager.BaseModule):
match_line = line match_line = line
match = match.group(0) match = match.group(0)
match_message = message match_message = message
break
if match: if match:
replace = sed_split[2] replace = sed_split[2]