aboutsummaryrefslogtreecommitdiff
path: root/thermal/thermal_04.sh
diff options
context:
space:
mode:
Diffstat (limited to 'thermal/thermal_04.sh')
-rwxr-xr-xthermal/thermal_04.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/thermal/thermal_04.sh b/thermal/thermal_04.sh
index 8f0dee7..7fe53e2 100755
--- a/thermal/thermal_04.sh
+++ b/thermal/thermal_04.sh
@@ -58,6 +58,7 @@ verify_cooling_device_temp_change() {
local cool_temp=0
./$HEAT_CPU_MODERATE moderate &
pid=$!
+ test $pid -eq 0 && return
while (test $count -le $max_state); do
echo 0 > $dirpath/cur_state