the if is unneccessary now
authorJoerg Jaspert <joerg@ganneff.de>
Wed, 17 Apr 2013 08:51:17 +0000 (10:51 +0200)
committerJoerg Jaspert <joerg@ganneff.de>
Wed, 17 Apr 2013 08:51:17 +0000 (10:51 +0200)
bin/tm

diff --git a/bin/tm b/bin/tm
index 2785370..ae5a14c 100755 (executable)
--- a/bin/tm
+++ b/bin/tm
@@ -195,10 +195,7 @@ case ${cmdline} in
         else
             # Not a config file, so just session name.
             TMDATA=""
-            if tmux has-session -t "${cmdline}" 2>/dev/null; then
-                # Existing session, just use it
-                SESSION=${cmdline}
-            fi
+            SESSION=${cmdline}
         fi
         ;;
 esac