fix blockhain size

This commit is contained in:
rootzoll
2025-01-05 17:42:43 +01:00
parent 2a091dad4f
commit d9715dd81b

View File

@@ -147,7 +147,6 @@ if [ "$1" = "layout" ]; then
fi
# check blochain data
if [ -d "${mountPath}/blocks" ]; then
storageBlockchainGB=$(du -s ${mountPath}/app-storage/bitcoin/blocks 2>/dev/null| awk '{printf "%.0f", $1/(1024*1024)}')
if [ "${storageBlockchainGB}" = "" ]; then
# check old location
@@ -157,7 +156,6 @@ if [ "$1" = "layout" ]; then
# if nothing found - set to numeric 0
storageBlockchainGB=0
fi
fi
# Check DATA DRIVE
elif [ -d "${mountPath}/app-data" ] && [ ${size} -gt 63 ]; then