fix syntax bug

This commit is contained in:
rootzoll 2021-09-12 18:33:56 +02:00
parent ab6b947127
commit 7de8aaf802

View File

@ -88,7 +88,7 @@ fi
source <(/home/admin/config.scripts/network.monitor.sh peer-status cached)
online=0
if [ "${peers}" != "0" ] && "${peers}" != ""; then
if [ "${peers}" != "0" ] && [ "${peers}" != "" ]; then
# bitcoind has peers - so device is online
online=1
fi