From 96658688526fc2ca161bb26ffe4b007f61ebac31 Mon Sep 17 00:00:00 2001 From: "James O. D. Hunt" Date: Fri, 12 Jun 2020 11:35:37 +0100 Subject: [PATCH] runtime: Ignore empty throttlers in collect script Fix bug by ignoring empty throttlers in the data collection script. Signed-off-by: James O. D. Hunt --- src/runtime/data/kata-collect-data.sh.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/runtime/data/kata-collect-data.sh.in b/src/runtime/data/kata-collect-data.sh.in index c4c737d43..83f7863cf 100644 --- a/src/runtime/data/kata-collect-data.sh.in +++ b/src/runtime/data/kata-collect-data.sh.in @@ -658,6 +658,8 @@ show_throttler_details() echo "$throttlers" | while read throttler do + [ -z "$throttler" ] && continue + local cmd cmd="$throttler --version" run_cmd_and_show_quoted_output "" "$cmd"