From 858c2e1bd5068c1b1498306e0e3c14eae5e645b3 Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Sat, 9 Mar 2019 14:15:42 -0700 Subject: [PATCH] Avoid crash on some Macs * Partially addresses issue #88 * HW damage should be avoided by using the THERMAL_LIMIT setting --- .bin/Scripts/functions/hw_diags.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.bin/Scripts/functions/hw_diags.py b/.bin/Scripts/functions/hw_diags.py index 837aa62b..1a9e4cd4 100644 --- a/.bin/Scripts/functions/hw_diags.py +++ b/.bin/Scripts/functions/hw_diags.py @@ -1231,7 +1231,7 @@ def run_mprime_test(state, test): # Stress CPU print_log('Starting Prime95') test.abort_msg = 'If running too hot, press CTRL+c to abort the test' - run_program(['apple-fans', 'max']) + run_program(['apple-fans', 'max'], check=False) tmux_update_pane( state.panes['Prime95'], command=['hw-diags-prime95', global_vars['TmpDir']], @@ -1279,7 +1279,7 @@ def run_mprime_test(state, test): tmux_kill_pane(state.panes.pop('Prime95', None)) # Get cooldown temp - run_program(['apple-fans', 'auto']) + run_program(['apple-fans', 'auto'], check=False) clear_screen() try_and_print( message='Letting CPU cooldown for bit...', indent=0,