Fix missing brace in UPS section (#3070)

This commit is contained in:
HiLivin 2022-04-25 12:42:51 +00:00 committed by GitHub
parent 312eb157af
commit 0f09f5085a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,7 +64,7 @@ upsInfo=""
if [ "${system_ups_status}" = "ONLINE" ]; then
upsInfo="${color_gray}${upsBattery}"
fi
if [ "$system_ups_status}" = "ONBATT" ]; then
if [ "${system_ups_status}" = "ONBATT" ]; then
upsInfo="${color_red}${upsBattery}"
fi
if [ "${system_ups_status}" = "SHUTTING DOWN" ]; then