FS#34187 - /usr/sbin/fancontrol error on line 472: too many arguments
Attached to Project:
Arch Linux
Opened by David (10robinho) - Thursday, 07 March 2013, 01:12 GMT
Last edited by Eric Belanger (Snowman) - Thursday, 04 April 2013, 01:06 GMT
Opened by David (10robinho) - Thursday, 07 March 2013, 01:12 GMT
Last edited by Eric Belanger (Snowman) - Thursday, 04 April 2013, 01:06 GMT
|
Details
Description:
when I run /usr/sbin/fancontrol it apparently works, but every second it is outputing this: /usr/sbin/fancontrol: line 472: [: too many arguments and lines 472-478 are: if [ $pwmpval -eq 0 -o $min_fanval -eq 0 ] then # if fan was stopped start it using a safe value echo $minsa > $pwmo # Sleep while still handling signals sleep 1 & wait $! fi Additional info: extra/lm_sensors 3.3.3-1 |
This task depends upon
Fancontrol itself works well on my system, in fact, I probably wouldn't have noticed those error messages if it weren't for a misbehaving app that I was trying to debug.
bash_syntax.diff (1 KiB)