From 554c01fc256640b9e88578b9d0310b53a8786fef Mon Sep 17 00:00:00 2001 From: Damien George Date: Wed, 11 Mar 2020 14:23:39 +1100 Subject: [PATCH] tools/metrics.py: Use check_call instead of run to error out on error. --- tools/metrics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/metrics.py b/tools/metrics.py index 5f1560287f..ffc20befef 100755 --- a/tools/metrics.py +++ b/tools/metrics.py @@ -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):