From 4f3c8856052471bfa7574022ef9ba590e5fe24fb Mon Sep 17 00:00:00 2001 From: Joby Elliott Date: Wed, 23 Oct 2024 17:29:01 -0600 Subject: [PATCH] make swapfile existing not an error --- install/swap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/swap.sh b/install/swap.sh index 3a00aaa..6a083f6 100755 --- a/install/swap.sh +++ b/install/swap.sh @@ -9,7 +9,7 @@ fi # Exit if swapfile exists if [ -f /swapfile ]; then echo "Swapfile already exists. Exiting..." - exit 1 + exit 0 fi # Swap Setup