Display information about the result

This commit is contained in:
Webber
2019-11-24 21:18:39 +01:00
committed by Webber Takken
parent 7aea91bad6
commit 0a53934ce9

View File

@@ -32,6 +32,15 @@ if [[ -n "$UNITY_LICENSE" ]]; then
-quit \
-manualLicenseFile $FILE_PATH
# Display information about the result
UNITY_EXIT_CODE=$?
if [ $UNITY_EXIT_CODE -eq 0 ]; then
echo "Activation complete"
else
echo "Unclassified error occured, trying to activate license"
echo "Exit code was: $UNITY_EXIT_CODE"
fi
else
#
# PROFESSIONAL (SERIAL) LICENSE MODE