exit immediately to prevent indefinite invalid runs
This commit is contained in:
parent
62ff707663
commit
7a0a4dbc48
|
|
@ -100,7 +100,7 @@ class Measurement(object):
|
|||
out, err = p.communicate()
|
||||
if err:
|
||||
print(err)
|
||||
return []
|
||||
exit(13)
|
||||
matches = re.finditer(self.regex, out)
|
||||
if not matches:
|
||||
return []
|
||||
|
|
|
|||
Loading…
Reference in New Issue