From c50cd6dc54c348c1e9aefa90c2a78259bb657571 Mon Sep 17 00:00:00 2001 From: iliajie Date: Mon, 22 May 2023 11:25:44 +0300 Subject: [PATCH] Fix quoting bug --- slib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slib.sh b/slib.sh index d17c0f4..942d9a2 100644 --- a/slib.sh +++ b/slib.sh @@ -621,7 +621,7 @@ memory_ok () { disk_space_required=$2 # If Virtualmin swap hasn't been setup yet, try doing it is_swap=$(swapon -s|grep /swap.vm) - if [ -n $is_swap ]; then + if [ -n "$is_swap" ]; then if [ -z "$min_mem" ]; then min_mem=1048576 fi