Silence tmux has-session output
This commit is contained in:
parent
0efc60451a
commit
1e4a30de83
@ -376,7 +376,7 @@ kill_server() {
|
|||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
else
|
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}")"
|
log "info" "Attempting to gracefully kill $(important "${session}")"
|
||||||
tmux send-keys -t "7D2D-Server-${server_id}" C-c
|
tmux send-keys -t "7D2D-Server-${server_id}" C-c
|
||||||
log "info" "Sent Exit Request, waiting 10 seconds..."
|
log "info" "Sent Exit Request, waiting 10 seconds..."
|
||||||
|
Loading…
Reference in New Issue
Block a user