From 803b2ce2eb5bad877a57a20eb5cf942cf0b097c4 Mon Sep 17 00:00:00 2001 From: Jason Hee Date: Wed, 7 Dec 2016 16:09:19 +0800 Subject: [PATCH] Fixes Issue #1 --- setupLibrary.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setupLibrary.sh b/setupLibrary.sh index 54d5edc..ef621e6 100644 --- a/setupLibrary.sh +++ b/setupLibrary.sh @@ -63,7 +63,7 @@ function createSwap() { # Anything over 4GB in swap is probably unnecessary as a RAM fallback if [ ${swapmem} -gt 4 ]; then - phymem=4 + swapmem=4 fi sudo fallocate -l "${swapmem}G" /swapfile