From 6f9566d2f364f5ba4e225ca15b0d1a216b14facf Mon Sep 17 00:00:00 2001 From: Thijs van Loef Date: Mon, 18 Mar 2024 20:31:47 +0100 Subject: [PATCH] replace doexit with shutdown --- scripts/helper_functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/helper_functions.sh b/scripts/helper_functions.sh index 0df5538d5..7a7c92a90 100644 --- a/scripts/helper_functions.sh +++ b/scripts/helper_functions.sh @@ -196,7 +196,7 @@ shutdown_server() { local return_val=0 # Do not shutdown if not able to save if save_server; then - if ! RCON "DoExit"; then + if ! RCON "Shutdown 1"; then return_val=1 fi else