Change the exits to returns. Fix typo.

This commit is contained in:
me
2026-08-26 16:08:35 -07:00
parent fc9db88670
commit 29fe9343e9
+3 -3
View File
@@ -33,14 +33,14 @@ if [[ ! -e ~/storage/shared ]]; then
echo "~/storage/shared/ now exists. :)" echo "~/storage/shared/ now exists. :)"
else else
echo "ERROR: Something ain't right, Jim! Abort!" >&2 echo "ERROR: Something ain't right, Jim! Abort!" >&2
exit 1 return 1
fi fi
else else
echo "Everything looks good already, pal." echo "Everything looks good already, pal."
fi fi
echo -e "\n`date` - Install & Updayte Crtical Software" echo -e "\n`date` - Install & Update Crtical Software"
pkg install -y \ pkg install -y \
openssh tsu vim htop git cronie man zip ncurses-utils which \ openssh tsu vim htop git cronie man zip ncurses-utils which \
nmap traceroute wget rsync \ nmap traceroute wget rsync \
@@ -134,4 +134,4 @@ echo "*******"
PROG="$(basename -- "${BASH_SOURCE[0]}")" PROG="$(basename -- "${BASH_SOURCE[0]}")"
echo -e "\n`date` - Finished $PROG" echo -e "\n`date` - Finished $PROG"
exit 0 return 0