From 4c5ee40cca60b07425393673f2d5c0362944cd11 Mon Sep 17 00:00:00 2001 From: Nicholas Date: Sun, 24 Oct 2021 17:34:42 -0700 Subject: [PATCH] Fixed arithmetic expression --- 1-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-setup.sh b/1-setup.sh index aa53d7e..0714b88 100755 --- a/1-setup.sh +++ b/1-setup.sh @@ -271,7 +271,7 @@ fi SWAPSIZEgb=2 -SWAPSIZEmb=1024*$SWAPSIZEgb +SWAPSIZEmb=$((1024*$SWAPSIZEgb)) touch /swapfile dd if=/dev/zero of=/swapfile bs=1M count=$SWAPSIZEmb status=progress