diff --git a/server/scripts/launch-all.sh b/server/scripts/launch-all.sh index f8b51f9..54aaa84 100755 --- a/server/scripts/launch-all.sh +++ b/server/scripts/launch-all.sh @@ -75,8 +75,7 @@ if [[ ! $ARE_PLUGINS_UPDATED ]]; then printf "\n${INFO}Plugins are outdated...$RESET\n\n" bash run-all.sh else - tmux has-session -t "RustyController plugins" 2>/dev/null - if [ $? != 0 ]; then + if tmux has-session -t "RustyController plugins" 2>/dev/null; then printf "\n${INFO}Plugins are not running, launching...$RESET\n\n" bash run-all.sh else