uugear / Witty-Pi-4

Software and Firmware for Witty Pi 4
MIT License
23 stars 16 forks source link

[: ==: unary operator expected #31

Open mmoollllee opened 5 months ago

mmoollllee commented 5 months ago

I got this error in journalctl:

May 10 07:18:20 raspberrypi wittypi[343]: Shutting down system because input voltge is too low: Vin=12.82V, Vlow=12.8V
May 10 07:18:20 raspberrypi wittypi[343]: /home/admin/wittypi/utilities.sh: line 494: [: ==: unary operator expected
May 10 07:18:20 raspberrypi wittypi[343]: Halting all processes and then shutdown Raspberry Pi...
uugear commented 5 months ago

Can't reproduce this issue, but you may check if this modification avoids this error: ac35690