Correctly suppress tmux output
This commit is contained in:
parent
2f5b1d98ed
commit
f2355c0cba
@ -703,7 +703,7 @@ list_servers() {
|
|||||||
if ((picked_option == 0)); then
|
if ((picked_option == 0)); then
|
||||||
log "debug" "Listing running servers"
|
log "debug" "Listing running servers"
|
||||||
local tmux_sessions
|
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
|
if [[ ! "${?}" -eq "0" ]]; then
|
||||||
important "No servers currently running."
|
important "No servers currently running."
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user