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()
|
out, err = p.communicate()
|
||||||
if err:
|
if err:
|
||||||
print(err)
|
print(err)
|
||||||
return []
|
exit(13)
|
||||||
matches = re.finditer(self.regex, out)
|
matches = re.finditer(self.regex, out)
|
||||||
if not matches:
|
if not matches:
|
||||||
return []
|
return []
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue