Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
games/base: Fix tmux error on server termination 'usage: kill-session…
Browse files Browse the repository at this point in the history
… [-aC] [-t target-session]'

Signed-off-by: Timo Reichl <[email protected]>
  • Loading branch information
Timo Reichl committed Jun 23, 2022
1 parent 6ae00b5 commit 7bde84c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion image/games/base/hlds/usr/local/bin/server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ clear_console() {
wait() {
until ! _is_running hlds; do :; done

${TMUX_CMD} kill-session ${STEAMCMD_SERVER_SESSION_NAME}
${TMUX_CMD} kill-session -t ${STEAMCMD_SERVER_SESSION_NAME}
${TMUX_CMD} kill-server

return 0
Expand Down
2 changes: 1 addition & 1 deletion image/games/base/srcds/usr/local/bin/server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ healthy() {
wait() {
until ! _is_running srcds; do :; done

${TMUX_CMD} kill-session ${STEAMCMD_SERVER_SESSION_NAME}
${TMUX_CMD} kill-session -t ${STEAMCMD_SERVER_SESSION_NAME}
${TMUX_CMD} kill-server

return 0
Expand Down

0 comments on commit 7bde84c

Please sign in to comment.