Browse Source

#707 remove debug output

v1.3
Christian Rotzoll 6 years ago
parent
commit
58f875fc3d
  1. 2
      home.admin/config.scripts/blitz.ups.sh

2
home.admin/config.scripts/blitz.ups.sh

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

Loading…
Cancel
Save