From: Roland Häder Date: Fri, 25 Aug 2023 19:41:11 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=da28cda496ffee4997b27bc5e3d3bf49c8cf0ee2;p=fba.git Continued: - exclude NULL values for detection_mode --- diff --git a/nodeinfo.sh b/nodeinfo.sh index cdeaa8f..16baaee 100755 --- a/nodeinfo.sh +++ b/nodeinfo.sh @@ -26,7 +26,7 @@ then MODE="detection" elif [ "$1" = "--no-auto" ] then - DOMAINS=$(sqlite3 blocks.db "SELECT domain FROM instances WHERE detection_mode != 'AUTO_DISCOVERY' ORDER BY last_updated ASC;") + DOMAINS=$(sqlite3 blocks.db "SELECT domain FROM instances WHERE detection_mode IS NOT NULL AND detection_mode != 'AUTO_DISCOVERY' ORDER BY last_updated ASC;") MODE="noauto" elif [ "$1" = "--no-auto2" ] then