From af3ca03246ead0cc3c713298efd2fce97eddce1d Mon Sep 17 00:00:00 2001 From: crowetic Date: Sat, 19 Oct 2024 17:29:20 -0700 Subject: [PATCH] fixed bug --- auto-fix-qortal.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/auto-fix-qortal.sh b/auto-fix-qortal.sh index b8a92f6..1c33c8d 100644 --- a/auto-fix-qortal.sh +++ b/auto-fix-qortal.sh @@ -131,7 +131,7 @@ check_peer_count() { if [ "$line_count" -gt 20 ]; then peer_count=20 # Set to a reasonable value indicating peers are present else - peer_count=$line_count + peer_count=0 fi fi @@ -149,7 +149,7 @@ check_peer_count() { if [ "$line_count" -gt 20 ]; then peer_count=20 else - peer_count=$line_count + peer_count=0 fi fi @@ -167,7 +167,7 @@ check_peer_count() { if [ "$line_count" -gt 20 ]; then peer_count=20 else - peer_count=$line_count + peer_count=0 fi fi @@ -176,9 +176,9 @@ check_peer_count() { zero_peer_settings_mod fi fi - else - check_for_GUI fi + + check_for_GUI }