This commit is contained in:
Bob Mottram 2017-06-20 15:07:34 +01:00
parent c0f118250e
commit baa523aa21
1 changed files with 1 additions and 1 deletions

View File

@ -1030,7 +1030,7 @@ function combine_all_scripts {
function check_ram_availability {
minimum_ram_MB="$1"
minimum_ram_bytes=$((minimum_ram_gb * 1024))
minimum_ram_bytes=$((minimum_ram_MB * 1024))
ram_available=$(grep MemTotal /proc/meminfo | awk '{print $2}')
if [ $ram_available -lt $minimum_ram_bytes ]; then