Skip to content

Commit

Permalink
Merge pull request #425 from Dashboy1998/surpress-broadcast-output
Browse files Browse the repository at this point in the history
Surpressing broadcast  output
  • Loading branch information
thijsvanloef authored Feb 22, 2024
2 parents f63a93d + 746b052 commit 4b52615
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 4b52615

Please sign in to comment.