From a2b449817bd9a6b5ad8b3c29d36f378e8a104983 Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Wed, 25 Jan 2023 12:03:58 +0000 Subject: [PATCH] Update file run_onchange_before_11-configure-swap.tmpl --- .../linux/run_onchange_before_11-configure-swap.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/.chezmoiscripts/linux/run_onchange_before_11-configure-swap.tmpl b/home/.chezmoiscripts/linux/run_onchange_before_11-configure-swap.tmpl index f6547938..73276722 100644 --- a/home/.chezmoiscripts/linux/run_onchange_before_11-configure-swap.tmpl +++ b/home/.chezmoiscripts/linux/run_onchange_before_11-configure-swap.tmpl @@ -19,7 +19,7 @@ if [ ! -f /swapfile ]; then fi logg info "Creating a $SWAP_SPACE GB /swapfile" - sudo fallocate -l "$SWAP_SPACE" /swapfile + sudo fallocate -l "${SWAP_SPACE}G" /swapfile sudo chmod 600 /swapfile sudo mkswap /swapfile sudo swapon /swapfile