* usr/bin/byobu:

- test that there is something in the windows files
This commit is contained in:
Dustin Kirkland 2011-08-10 11:15:35 -05:00
commit dd45ab8889
2 changed files with 4 additions and 3 deletions

3
debian/changelog vendored
View file

@ -1,6 +1,7 @@
byobu (4.26) unreleased; urgency=low
* UNRELEASED
* usr/bin/byobu:
- test that there is something in the windows files
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 04 Aug 2011 17:57:12 -0500

View file

@ -47,9 +47,9 @@ byobu-janitor --force
# Allow override of default window list, with BYOBU_WINDOWS environment variable
CUSTOM_WINDOW_SET=0
if [ -r "$BYOBU_WINDOWS" ]; then
if [ -s "$BYOBU_WINDOWS" ]; then
CUSTOM_WINDOW_SET=1
elif [ -r "$BYOBU_CONFIG_DIR/windows.$BYOBU_WINDOWS" ]; then
elif [ -s "$BYOBU_CONFIG_DIR/windows.$BYOBU_WINDOWS" ]; then
CUSTOM_WINDOW_SET=1
BYOBU_WINDOWS="$BYOBU_CONFIG_DIR/windows.$BYOBU_WINDOWS"
elif [ "$#" = "0" ]; then