Skip to content

Commit

Permalink
hijack.sh: fail when an error is found in firmware logs
Browse files Browse the repository at this point in the history
At last.

Signed-off-by: Marc Herbert <[email protected]>
  • Loading branch information
marc-hb committed Jun 30, 2023
1 parent 3b3c863 commit 24d96e2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions case-lib/hijack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 24d96e2

Please sign in to comment.