break sed search when we find a match
This commit is contained in:
parent
96058a1761
commit
ed7150a8b7
1 changed files with 1 additions and 0 deletions
|
@ -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]
|
||||||
|
|
Loading…
Reference in a new issue