Merge pull request #32 from Loki-101/patch-1

Fixed bad exit code
This commit is contained in:
purple 2024-04-20 20:48:55 +02:00 committed by GitHub
commit 8c711d3895
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -284,7 +284,7 @@ if [[ $1 != "-bash" ]]; then
dbAdd "blueprint.setupFinished"
# Let the panel know the user has finished installation.
sed -i "s/NOTINSTALLED/INSTALLED/g" $FOLDER/app/BlueprintFramework/Services/PlaceholderService/BlueprintPlaceholderService.php
exit 1
exit 0
fi
fi
@ -2215,4 +2215,4 @@ if [[ ${VCMD} != "y" && $1 == "-bash" ]]; then
# This is logged as a "fatal" error since it's something that is making Blueprint run unsuccessfully.
PRINT FATAL "'$2' is not a valid command or argument. Use argument '-help' for a list of commands."
exit 1
fi
fi