Fix Ressource-Check for other languages

This commit is contained in:
CanbiZ 2024-12-07 22:10:22 +01:00 committed by GitHub
parent f107a60062
commit d73c19f5cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -601,7 +601,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