Silence tmux has-session output

This commit is contained in:
Price Hiller 2022-01-01 02:20:59 -06:00
parent 0efc60451a
commit 1e4a30de83

View File

@ -376,7 +376,7 @@ kill_server() {
return 1
fi
else
while tmux has-session -t "${session}"; do
while tmux has-session -t "${session}" > /dev/null 2>&1; do
log "info" "Attempting to gracefully kill $(important "${session}")"
tmux send-keys -t "7D2D-Server-${server_id}" C-c
log "info" "Sent Exit Request, waiting 10 seconds..."