* usr/lib/byobu/include/select-session.py: LP: #1548384

- when selecting a session, if only empty sessions exist, then create
    a new one; the bug was that tmux considers a null string argument
    still an argument
This commit is contained in:
Dustin Kirkland 2016-11-28 09:22:41 -06:00
commit 63343cbce2
2 changed files with 6 additions and 3 deletions

4
debian/changelog vendored
View file

@ -4,6 +4,10 @@ byobu (5.113) unreleased; urgency=medium
- ping the router, too, to verify at least local connectivity
* usr/lib/byobu/include/shutil:
- use a prime here, too
* usr/lib/byobu/include/select-session.py: LP: #1548384
- when selecting a session, if only empty sessions exist, then create
a new one; the bug was that tmux considers a null string argument
still an argument
-- Dustin Kirkland <kirkland@ubuntu.com> Fri, 16 Sep 2016 10:13:08 -0500

View file

@ -199,7 +199,6 @@ if choice >= 1:
# No valid selection, default to the youngest session, create if necessary
if BYOBU_BACKEND == "tmux":
args = ""
os.execvp("tmux", ["tmux"])
else:
args = "-AOxRR"
os.execvp("byobu", ["byobu", args])
os.execvp("screen", ["screen", "-AOxRR"])