diff --git a/.bin/Scripts/functions/osticket.py b/.bin/Scripts/functions/osticket.py index aed84f92..30b7dd8a 100644 --- a/.bin/Scripts/functions/osticket.py +++ b/.bin/Scripts/functions/osticket.py @@ -346,8 +346,15 @@ class osTicket(): results['Status'] += '*' # Enable CoreStorage searches - results['Core'] = (results['Full Diag'] and - results['Passed']+results['N/A']+results['OVERRIDE'] == len(test_list)) + results['Core'] = False + if 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 + results['Core'] = True + elif results['Failed'] == 1 and dev.tests['I/O Benchmark'].failed: + # We ran all disk tests and only I/O Benchmark failed + results['Core'] = True # Done return results