Fixes Issue #1

This commit is contained in:
Jason Hee committed 2016-12-07 16:09:19 +08:00
1 parent ca73a74b18
commit 803b2ce2eb
1 file changed
+1 -1
+1 -1
View File
@@ -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