From a8995d32ff7e6d66bc07342ba23c266cee63916d Mon Sep 17 00:00:00 2001 From: "Carlos M. Martinez" Date: Wed, 21 Feb 2024 17:34:16 -0500 Subject: [PATCH] Surpressing broadcast output --- 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 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"