#707 remove debug output

This commit is contained in:
Christian Rotzoll
2019-08-06 15:09:10 +02:00
parent 7e2fc5f381
commit 58f875fc3d

View File

@@ -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