Allow stdout tmux to be captured

This commit is contained in:
Price Hiller 2022-01-01 04:42:43 -06:00
parent 2a72d725c0
commit c44f8c3757

View File

@ -704,7 +704,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 2>/dev/null)"
if [[ ! "${?}" -eq "0" ]]; then
important "No servers currently running."
fi