Skip to content

Commit

Permalink
Fix quoting bug
Browse files Browse the repository at this point in the history
  • Loading branch information
iliajie committed May 22, 2023
1 parent 732dbbf commit c50cd6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c50cd6d

Please sign in to comment.