fix offering Blockchain copy

This commit is contained in:
rootzoll
2021-07-02 22:16:02 +02:00
parent cbfa8ff23e
commit 5034384fec

View File

@@ -28,7 +28,8 @@ fi
# get fresh data
source <(sudo /home/admin/config.scripts/blitz.statusscan.sh)
if [ "${syncProgress}" != "" ] && [ "${network}" == "bitcoin" ] && [ ${syncProgress} -lt 75 ]; then
syncProgressFull=$(echo "${syncProgress}" | cut -d "." -f1)
if [ "${syncProgressFull}" != "" ] && [ "${network}" == "bitcoin" ] && [ ${syncProgressFull} -lt 75 ]; then
# offer choice to copy blockchain over LAN
OPTIONS=()