From e4707c24935548592bc4f64475c61e70df7a93c9 Mon Sep 17 00:00:00 2001 From: Ziver Koc Date: Tue, 16 Jul 2024 23:44:46 +0200 Subject: [PATCH] Fixed console output issue --- run.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/run.sh b/run.sh index bb203ac9..218a8a2d 100644 --- a/run.sh +++ b/run.sh @@ -25,17 +25,15 @@ until [[ $# -eq 0 ]]; do case "$1" in -f|--foreground) MODE="FOREGROUND" - shift ;; -b|--background) MODE="BACKGROUND" - shift ;; --no-color) + echo "INFO: Running with plain console." GRADLE_COLOR="--console=plain" - shift ;; -h|--help) @@ -124,7 +122,7 @@ elif [[ ${MODE} == "BACKGROUND" ]]; then # Kill current session screen -S hal -X kill # Start new session - screen -S hal -L -d -m "$(dirname "$0")/run.sh" --foreground --no-color + screen -S hal -L -d -m $(dirname "$0")/run.sh --foreground --no-color echo "-------------------------" screen -list