From 980c62ce94774659c9d0f4f59404b38468383e79 Mon Sep 17 00:00:00 2001 From: David Gomes <10091092+davidgomesdev@users.noreply.github.com> Date: Thu, 31 Oct 2024 18:42:02 +0000 Subject: [PATCH] ci: fix launch all script --- server/scripts/launch-all.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/server/scripts/launch-all.sh b/server/scripts/launch-all.sh index 54aaa84..84d8352 100755 --- a/server/scripts/launch-all.sh +++ b/server/scripts/launch-all.sh @@ -40,8 +40,6 @@ done printf "$START* Running at $(date)$RESET\n" -set -e - # Start Grafana stack if [[ "$LAUNCH_GRAFANA" == "y" ]]; then @@ -75,7 +73,8 @@ if [[ ! $ARE_PLUGINS_UPDATED ]]; then printf "\n${INFO}Plugins are outdated...$RESET\n\n" bash run-all.sh else - if tmux has-session -t "RustyController plugins" 2>/dev/null; then + tmux has-session -t "RustyController plugins" 2>/dev/null + if [ $? != 0 ]; then printf "\n${INFO}Plugins are not running, launching...$RESET\n\n" bash run-all.sh else