Make shellcheck happy

This commit is contained in:
Martin Wimpress 2021-10-27 12:18:10 +01:00
parent 1421492f87
commit ea8f459977
No known key found for this signature in database
GPG key ID: 61DF940515E06DA3
2 changed files with 2 additions and 2 deletions

View file

@ -311,7 +311,7 @@ function vm_boot() {
fi
echo ", ${RAM_VM} RAM"
if [ ${RAM_VM//G/} -lt 4 ]; then
if [ "${RAM_VM//G/}" -lt 4 ]; then
if [ "${guest_os}" == "macos" ] || [ "${guest_os}" == "windows" ]; then
echo "ERROR! You have insufficient RAM to run ${guest_os} in a VM"
exit 1