[PATCH] fancontrol: syslog flooded by error messages.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



There is an error at this line:
http://lm-sensors.org/browser/lm-sensors/trunk/prog/pwm/fancontrol?rev=6255#L544

Bug reported at:
https://launchpad.net/~debianbug

Fix by: Mac_Weber

Replace:
if [ $pwmpval -eq 0 -o $min_fanval -eq 0 ]
By:
if [ "${pwmpval} -eq 0 -o ${min_fanval} -eq 0" ]


Without this fix the file /var/log/syslog gets flooded by error messages.
_______________________________________________
lm-sensors mailing list
lm-sensors@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors




[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux