From f7d8eee678128e3d4cafbac9e6e427b51e42110f Mon Sep 17 00:00:00 2001 From: purple Date: Wed, 20 Mar 2024 11:27:44 +0100 Subject: [PATCH] fix `core`: -upgrade did not halt after encountering remote error. --- blueprint.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/blueprint.sh b/blueprint.sh index 4043b8a..aa075fe 100644 --- a/blueprint.sh +++ b/blueprint.sh @@ -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"/