From cf3e75694d62b7f8f737084871075e9edf16b7e3 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sat, 1 Jan 2022 02:21:51 -0600 Subject: [PATCH] Do equality check for force --- Scripts/7D2D-Manage.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/7D2D-Manage.bash b/Scripts/7D2D-Manage.bash index d44a904..56d76bb 100644 --- a/Scripts/7D2D-Manage.bash +++ b/Scripts/7D2D-Manage.bash @@ -366,7 +366,7 @@ kill_server() { session="${prefix}-Server-${server_id}" - if "${force}"; then + if [[ "${force}" -eq 0 ]]; then if tmux kill-session -t "${session}" >/dev/null 2>&1; then log "info" "Killed $(important "${prefix}-Server-${server_id}")"