Allow stdout tmux to be captured
This commit is contained in:
parent
2a72d725c0
commit
c44f8c3757
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user