Avoid a crash when a system fails Prime95

This commit is contained in:
2Shirt 2019-05-29 15:38:38 -06:00
parent f70cf16040
commit ed339866f7
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -350,7 +350,7 @@ class osTicket():
# Enable CoreStorage searches
results['Core'] = False
if results['Full Diag']:
if results['Dev Type'] == 'Disk' and results['Full Diag']:
num_passed = results['Passed'] + results['N/A'] + results['OVERRIDE']
if num_passed == len(test_list):
# We ran all disk tests and all results were acceptable