diff --git a/scripts/helper_functions.sh b/scripts/helper_functions.sh index d35970cfa..ea8e5f214 100644 --- a/scripts/helper_functions.sh +++ b/scripts/helper_functions.sh @@ -170,7 +170,7 @@ broadcast_command() { if [[ $TEXT = *[![:ascii:]]* ]]; then LogWarn "Unable to broadcast since the message contains non-ascii characters: \"${message}\"" return_val=1 - elif ! RCON "broadcast ${message}"; then + elif ! RCON "broadcast ${message}" > /dev/null; then return_val=1 fi return "$return_val"