From 0a53934ce953ce6763a8df80c4d1175e180e155b Mon Sep 17 00:00:00 2001 From: Webber Date: Sun, 24 Nov 2019 21:18:39 +0100 Subject: [PATCH] Display information about the result --- request-activation/entrypoint.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/request-activation/entrypoint.sh b/request-activation/entrypoint.sh index 4a107e5..c012fe9 100644 --- a/request-activation/entrypoint.sh +++ b/request-activation/entrypoint.sh @@ -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