Merge lp:~fougner/byobu/fix-for-1548384 into lp:byobu

Proposed by Alexander Fougner on 2016-11-26
Status: Needs review
Proposed branch: lp:~fougner/byobu/fix-for-1548384
Merge into: lp:byobu
Diff against target: 12 lines (+1/-1)
1 file modified
usr/bin/byobu.in (+1/-1)
To merge this branch: bzr merge lp:~fougner/byobu/fix-for-1548384
Reviewer Review Type Date Requested Status
Dustin Kirkland  2016-11-26 Pending
Review via email: mp+311875@code.launchpad.net
To post a comment you must log in.

Unmerged revisions

2525. By Alexander Fougner on 2016-11-26

Fix bug #1548384 where a single, hidden session crashes byobu

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'usr/bin/byobu.in'
2--- usr/bin/byobu.in 2016-09-16 15:13:08 +0000
3+++ usr/bin/byobu.in 2016-11-26 13:29:30 +0000
4@@ -213,7 +213,7 @@
5 [ -n "$SESSION_MANAGER" ] && printf "SESSION_MANAGER=$SESSION_MANAGER\n" >> "$BYOBU_RUN_DIR/sockets"
6
7 # Now let's execute the backend!
8-if [ "$#" = "0" ]; then
9+if [ "$#" = "0" || "$#" = "1" && "$1" = ""]; then
10 if [ "$CUSTOM_WINDOW_SET" = "1" ]; then
11 # Start new custom window set session
12 case $BYOBU_BACKEND in

Subscribers

People subscribed via source and target branches