From 24d96e26126ae6cfbe2fbd36ebd3f25a0b676f03 Mon Sep 17 00:00:00 2001 From: Marc Herbert Date: Thu, 29 Jun 2023 19:42:11 -0700 Subject: [PATCH] hijack.sh: fail when an error is found in firmware logs At last. Signed-off-by: Marc Herbert --- case-lib/hijack.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/case-lib/hijack.sh b/case-lib/hijack.sh index 55d76e8e..0079c989 100644 --- a/case-lib/hijack.sh +++ b/case-lib/hijack.sh @@ -112,6 +112,10 @@ function func_exit_handler() dloge "Empty logger trace" exit_status=1 fi + + check_error_in_fw_logfile "$logfile" || + exit_status=1 + else dloge "Log file not found: $logfile" exit_status=1