Do equality check for force

This commit is contained in:
Price Hiller 2022-01-01 02:21:51 -06:00
parent 1e4a30de83
commit cf3e75694d

View File

@ -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}")"