mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-29 12:50:43 +00:00
If sensor doesn't return any value (in my case it happen when fan got broken - look below) whole script gets messed up. "cut" latter in the script assume there are more values in $GOODFAN then there are really and "cut -d' ' -f$count" doesn't return proper value. root@yaro-desktop2:/sys/class/hwmon# cat hwmon0/fan1_input cat: hwmon0/fan1_input: Bad argument root@yaro-desktop2:/sys/class/hwmon#