Fix: Remove exit statement. Fix typo

This commit is contained in:
Brandon Pribula 2024-10-26 17:24:49 -07:00
parent a64693d900
commit 372a416c22

View file

@ -452,10 +452,9 @@ case "$CMD" in
FOUND=$(echo $SHOWLIST | tr -s ' ' "\n" | grep "slackpkg-[0-9]") FOUND=$(echo $SHOWLIST | tr -s ' ' "\n" | grep "slackpkg-[0-9]")
if [ "$FOUND" != "" ]; then if [ "$FOUND" != "" ]; then
getpkg $FOUND upgradepkg Upgrading getpkg $FOUND upgradepkg Upgrading
echo -e "slackpkg was upgraded - you will need start the upgrade process again...\n" echo -e "slackpkg was upgraded - you will need to start the upgrade process again...\n"
EXIT_CODE=50 EXIT_CODE=50
cleanup cleanup
exit ${EXIT_CODE}
fi fi
for i in pkgtools aaa_glibc-solibs glibc-solibs aaa_libraries aaa_elflibs readline sed; do for i in pkgtools aaa_glibc-solibs glibc-solibs aaa_libraries aaa_elflibs readline sed; do
FOUND="" FOUND=""