From 54a9fcedf85f08b947807408178643f36c0a794e Mon Sep 17 00:00:00 2001 From: Ziver Koc Date: Thu, 28 Sep 2023 22:14:13 +0200 Subject: [PATCH] some bugfixes --- run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run.sh b/run.sh index d04a4e8f..bb203ac9 100644 --- a/run.sh +++ b/run.sh @@ -34,7 +34,7 @@ until [[ $# -eq 0 ]]; do ;; --no-color) - GRADLE_COLOR="--no-color" + GRADLE_COLOR="--console=plain" shift ;; @@ -117,7 +117,7 @@ if [[ ${MODE} == "FOREGROUND" ]]; then while [[ ${EXIT_CODE} -eq 200 ]]; do # Restart as long as we have a exit code of 200, this allows the application to restart itself #startHal - ./gradlew ${GRADLE_COLOR} --console=plain run + ./gradlew ${GRADLE_COLOR} run EXIT_CODE=$? done elif [[ ${MODE} == "BACKGROUND" ]]; then