From 7eecab9200b875fe6e861435704d595b2b4a9b94 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 1 Feb 2025 14:30:22 +0100 Subject: [PATCH] Continued: - removed duplicate --- nodeinfo.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/nodeinfo.sh b/nodeinfo.sh index 86ab79c..4ab4da1 100755 --- a/nodeinfo.sh +++ b/nodeinfo.sh @@ -16,10 +16,6 @@ elif [ -n "$1" -a -f "$1" ] then DOMAIN_LIST=$(cat "$1") MODE="file" -elif [ "$1" = "--nodeinfo" ] -then - DOMAIN_LIST=$(sqlite3 blocks.db "SELECT domain FROM instances WHERE software IS NULL AND nodeinfo_url IS NOT NULL ORDER BY last_updated ASC;") - MODE="nodeinfo" elif [ "$1" = "--timeout" ] then DOMAIN_LIST=$(sqlite3 blocks.db "SELECT domain FROM instances WHERE last_error_details LIKE '%Timeout%' ORDER BY last_updated ASC;") -- 2.39.5