]> git.mxchange.org Git - fba.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Fri, 25 Aug 2023 19:41:11 +0000 (21:41 +0200)
committerRoland Häder <roland@mxchange.org>
Fri, 25 Aug 2023 19:41:11 +0000 (21:41 +0200)
- exclude NULL values for detection_mode

nodeinfo.sh

index cdeaa8f6e4f07f27fa1d506bd9639b71b9002c5c..16baaee4dfffe1d7a31eccb8f6318b9c5ea4c8f0 100755 (executable)
@@ -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