diff --git a/.bin/Scripts/functions/hw_diags.py b/.bin/Scripts/functions/hw_diags.py index 3d6b5d03..22f76aff 100644 --- a/.bin/Scripts/functions/hw_diags.py +++ b/.bin/Scripts/functions/hw_diags.py @@ -981,7 +981,8 @@ def run_badblocks_test(state, test): else: test.report.append(' {YELLOW}{line}{CLEAR}'.format( line=line, **COLORS)) - test.failed = True + if not test.aborted: + test.failed = True if test.aborted: test.report.append(' {YELLOW}Aborted{CLEAR}'.format(**COLORS)) test.update_status('Aborted')