fixed bug

This commit is contained in:
crowetic 2024-10-19 17:29:20 -07:00
parent ad50a9c88e
commit af3ca03246

View File

@ -131,7 +131,7 @@ check_peer_count() {
if [ "$line_count" -gt 20 ]; then if [ "$line_count" -gt 20 ]; then
peer_count=20 # Set to a reasonable value indicating peers are present peer_count=20 # Set to a reasonable value indicating peers are present
else else
peer_count=$line_count peer_count=0
fi fi
fi fi
@ -149,7 +149,7 @@ check_peer_count() {
if [ "$line_count" -gt 20 ]; then if [ "$line_count" -gt 20 ]; then
peer_count=20 peer_count=20
else else
peer_count=$line_count peer_count=0
fi fi
fi fi
@ -167,7 +167,7 @@ check_peer_count() {
if [ "$line_count" -gt 20 ]; then if [ "$line_count" -gt 20 ]; then
peer_count=20 peer_count=20
else else
peer_count=$line_count peer_count=0
fi fi
fi fi
@ -176,9 +176,9 @@ check_peer_count() {
zero_peer_settings_mod zero_peer_settings_mod
fi fi
fi fi
else
check_for_GUI
fi fi
check_for_GUI
} }