Skip to content

Commit

Permalink
Surpressing broadcast output
Browse files Browse the repository at this point in the history
  • Loading branch information
Dashboy1998 committed Feb 21, 2024
1 parent 9e087ce commit a8995d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/helper_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit a8995d3

Please sign in to comment.