Make sure bungee is stopped again

This commit is contained in:
Leonard Steppy 2025-09-19 15:52:57 +02:00
parent 405cd85f07
commit 9a89c8f513

View File

@ -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"