mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-21 14:11:06 +02:00
#707 remove debug output
This commit is contained in:
@@ -78,7 +78,7 @@ if [ "$1" = "status" ]; then
|
||||
fi
|
||||
|
||||
if [ "${ups}" = "apcusb" ]; then
|
||||
status=$(apcaccess -p STATUS | xargs)
|
||||
status=$(apcaccess -p STATUS 2>/dev/null | xargs)
|
||||
if [ ${#status} -eq 0 ]; then
|
||||
echo "upsStatus='n/a'"
|
||||
else
|
||||
|
Reference in New Issue
Block a user