summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES1
-rwxr-xr-xprog/pwm/fancontrol4
2 files changed, 3 insertions, 2 deletions
diff --git a/CHANGES b/CHANGES
index 30880b69..fa36d84a 100644
--- a/CHANGES
+++ b/CHANGES
@@ -11,6 +11,7 @@ SVN HEAD
sensors: Add support for temperature min and critical min hysteresis
fancontrol: Deal with moving hwmon attributes
Fix shell error when FCFANS is not set
+ Reduce memory consumption (#2391)
healthd: Avoid using external commands
sensors-detect: Add detection of ADC128D818
Add detection of AMD family 16h Kabini and Mullins
diff --git a/prog/pwm/fancontrol b/prog/pwm/fancontrol
index 85aa8bc9..9030438c 100755
--- a/prog/pwm/fancontrol
+++ b/prog/pwm/fancontrol
@@ -546,7 +546,7 @@ function UpdateFanSpeeds
echo $minsa > $pwmo
# Sleep while still handling signals
sleep 1 &
- wait $!
+ wait
fi
fi
echo $pwmval > $pwmo # write new value to pwm output
@@ -585,5 +585,5 @@ do
UpdateFanSpeeds
# Sleep while still handling signals
sleep $INTERVAL &
- wait $!
+ wait
done