~mil/sxmo-tickets#528: 
sxmo_led: Set LC_LOCALE to 'en_US' to avoid `invalid number` error

I noticed the following error in my logs: /usr/bin/sxmo_led.sh: line 69: printf: 1.00000000000000000000: invalid number

This is caused by the fact that some locales don't use the point as the decimal separator. LC_NUMERIC needs to be set to 'en_US.UTF-8'.

Status
REPORTED
Submitter
~e-v
Assigned to
No-one
Submitted
3 months ago
Updated
3 months ago
Labels
No labels applied.