tools/metrics.py: Use check_call instead of run to error out on error.

v1.13-wasp-os
Damien George 2020-03-11 14:23:39 +11:00
parent 7bf62562ce
commit 554c01fc25
1 changed files with 1 additions and 1 deletions

View File

@ -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):