From 29fe9343e9e2a7b28082c23e2007be3ca7da4d46 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Wed, 26 Aug 2026 16:08:35 -0700 Subject: [PATCH] Change the exits to returns. Fix typo. --- setup.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.sh b/setup.sh index 8b7c29e..f25a725 100755 --- a/setup.sh +++ b/setup.sh @@ -33,14 +33,14 @@ if [[ ! -e ~/storage/shared ]]; then echo "~/storage/shared/ now exists. :)" else echo "ERROR: Something ain't right, Jim! Abort!" >&2 - exit 1 + return 1 fi else echo "Everything looks good already, pal." fi -echo -e "\n`date` - Install & Updayte Crtical Software" +echo -e "\n`date` - Install & Update Crtical Software" pkg install -y \ openssh tsu vim htop git cronie man zip ncurses-utils which \ nmap traceroute wget rsync \ @@ -134,4 +134,4 @@ echo "*******" PROG="$(basename -- "${BASH_SOURCE[0]}")" echo -e "\n`date` - Finished $PROG" -exit 0 +return 0