Fix RAM Check for other languages

This commit is contained in:
CanbiZ 2024-12-07 22:08:56 +01:00 committed by GitHub
parent 5b2cbd3e99
commit c056dd97ea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -504,7 +504,7 @@ install_script() {
check_container_resources() {
# Check actual RAM & Cores
current_ram=$(free -m | awk '/^Mem:/{print $2}')
current_ram=$free -m | awk 'NR==2{print $2}')
current_cpu=$(nproc)
# Check whether the current RAM is less than the required RAM or the CPU cores are less than required