fix core: -upgrade did not halt after encountering remote error.

This commit is contained in:
purple 2024-03-20 11:27:44 +01:00
parent b9187b932a
commit f7d8eee678

View file

@ -2056,6 +2056,7 @@ if [[ $2 == "-upgrade" ]]; then VCMD="y"
rm -r $FOLDER/.tmp &>> $BLUEPRINT__DEBUG
rm $FOLDER/.blueprint.sh.bak &>> $BLUEPRINT__DEBUG
PRINT FATAL "Remote does not exist or encountered an error, try again later."
exit 1
fi
cp -r main/* "$FOLDER"/