From 25415b6308916a2f6ea531c9b05a75201d7b1a28 Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Mon, 3 Jan 2022 20:29:31 -0300 Subject: [PATCH] Add debug --- install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index 2bdb990..1537662 100755 --- a/install.sh +++ b/install.sh @@ -130,10 +130,10 @@ getSize() { } createSwapfile() { - dd if=/dev/zero of=$swapfile bs=1M count=${size} status=progress - chmod 600 $swapfile - mkswap $swapfile - swapon $swapfile + dd if=/dev/zero of=$swapfile bs=1M count=${size} status=progress 2>&1 | debug + chmod 600 $swapfile 2>&1 | debug + mkswap $swapfile 2>&1 | debug + swapon $swapfile 2>&1 | debug } autoPart() {