From bd7e6e26dde62a8d6f6f99158913e1513108a480 Mon Sep 17 00:00:00 2001 From: Jay Pfaffman Date: Mon, 12 Sep 2016 15:11:19 -0700 Subject: [PATCH] EDIT: Fix up messages about memory and swap --- discourse-setup | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/discourse-setup b/discourse-setup index 2f3ac73..30c998c 100755 --- a/discourse-setup +++ b/discourse-setup @@ -46,8 +46,8 @@ check_disk_and_memory() { if [ "$avail_mem" -le 2 ]; then total_swap=`free -g --si | awk ' /Swap:/ {print $2} '` if [ "$total_swap" -lt 2 ]; then - echo "WARNING: Discourse requires at least 2GB of swap when running with less " - echo "than 2GB of RAM. This system does not appear to have sufficient swap space." + echo "WARNING: Discourse requires at least 2GB of swap when running with 2GB of RAM" + echo "or less. This system does not appear to have sufficient swap space." echo echo "Without sufficient swap space, your site may not work properly, and future" echo "upgrades of Discourse may not complete successfully." -- 2.25.1