From f2355c0cbab464a2cc7aa4e16dd0edd4885e8c38 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sat, 1 Jan 2022 04:28:12 -0600 Subject: [PATCH] Correctly suppress tmux output --- 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 94aa02e..801bc59 100644 --- a/Scripts/7D2D-Manage.bash +++ b/Scripts/7D2D-Manage.bash @@ -703,7 +703,7 @@ list_servers() { if ((picked_option == 0)); then log "debug" "Listing running servers" local tmux_sessions - tmux_sessions="$(tmux list-sessions)" >/dev/null 2>&1 + tmux_sessions="$(tmux list-sessions >/dev/null 2>&1)" if [[ ! "${?}" -eq "0" ]]; then important "No servers currently running." fi