tools/metrics.py: Use check_call instead of run to error out on error.
This commit is contained in:
parent
7bf62562ce
commit
554c01fc25
@ -78,7 +78,7 @@ def syscmd(*args):
|
||||
a2.append(a)
|
||||
elif a:
|
||||
a2.extend(a)
|
||||
subprocess.run(a2)
|
||||
subprocess.check_call(a2)
|
||||
|
||||
|
||||
def parse_port_list(args):
|
||||
|
Loading…
x
Reference in New Issue
Block a user