diff --git a/start.sh b/start.sh index 1e57581..9d5fee1 100755 --- a/start.sh +++ b/start.sh @@ -65,7 +65,7 @@ fi trap cleanup SIGINT cleanup() { - if $proxy; then + if $proxy || $bungee; then # stop the proxy screen -S "$PROXY_SCREEN" -X stuff "end\n" echo "The proxy has been stopped"