From 64e91f7d165aff3ededfbfffedec58e947816e99 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Sun, 22 Apr 2012 13:03:07 +0100 Subject: [PATCH] Fix issue with switching to already existing session --- runtime.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime.sh b/runtime.sh index d1501b7..4e54485 100644 --- a/runtime.sh +++ b/runtime.sh @@ -116,7 +116,7 @@ initialize_session() { # created, the session already exists, and we'll need to specifically switch # to it here. finalize_and_go_to_session() { - tmux kill-window -t "$session:99" 2>/dev/null + tmux kill-window -t "$session:99" 2>/dev/null || true if [[ "$(tmuxifier-current-session)" != "$session" ]]; then __go_to_session fi