Skip to content
Snippets Groups Projects
Commit baa523aa authored by Bob Mottram's avatar Bob Mottram
Browse files

mb

parent c0f11825
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment