Update config.sh

This commit is contained in:
Kroese 2024-05-03 11:12:15 +02:00 committed by GitHub
parent 04d9a35f0c
commit 6157cf1b40
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -19,7 +19,7 @@ AVAIL_GB=$(( (RAM_AVAIL + 1073741823)/1073741824 ))
if (( (RAM_WANTED + 500000000) > RAM_AVAIL )); then if (( (RAM_WANTED + 500000000) > RAM_AVAIL )); then
error "Your configured RAM_SIZE of $WANTED_GB GB is higher than the $AVAIL_GB GB of memory available, please set a lower value." error "Your configured RAM_SIZE of $WANTED_GB GB is higher than the $AVAIL_GB GB of memory available, please set a lower value."
exit 15 exit 17
fi fi
if (( (RAM_WANTED + 1450000000) > RAM_AVAIL )); then if (( (RAM_WANTED + 1450000000) > RAM_AVAIL )); then