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