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