From 86f81f27205766c73d9095cdcc7913d7711fe1d8 Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Sat, 16 Mar 2019 15:11:42 -0600 Subject: [PATCH] Prevent updating OVERRIDE to CS --- .bin/Scripts/functions/hw_diags.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bin/Scripts/functions/hw_diags.py b/.bin/Scripts/functions/hw_diags.py index 1fd77af4..a5fc5e5d 100644 --- a/.bin/Scripts/functions/hw_diags.py +++ b/.bin/Scripts/functions/hw_diags.py @@ -1460,7 +1460,7 @@ def run_nvme_smart_tests(state, test, update_mode=False): test.failed = True test.update_status('NS') elif dev.smart_attributes: - if dev.disk_ok and dev.self_test_passed: + if dev.disk_ok and dev.self_test_passed and 'OVERRIDE' not in test.status: test.passed = True test.update_status('CS') elif test.aborted: