usr/bin/byobu-launcher: don't launch if in a dumb terminal, LP: #612886

This commit is contained in:
Dustin Kirkland 2010-08-20 18:37:48 -05:00
commit dee9211f26
2 changed files with 5 additions and 0 deletions

1
debian/changelog vendored
View file

@ -2,6 +2,7 @@ byobu (3.2) unreleased; urgency=low
* usr/share/byobu/keybindings/f-keys: resize the screen as part of the
F5/refresh, LP: #619899
* usr/bin/byobu-launcher: don't launch if in a dumb terminal, LP: #612886
-- Dustin Kirkland <kirkland@ubuntu.com> Tue, 03 Aug 2010 15:19:23 -0400

View file

@ -56,6 +56,10 @@ if [ ! -e "$HOME/.byobu/disable-autolaunch" ]; then
;;
esac
;;
dumb)
# Dumb terminal, don't launch
exit 0
;;
*)
exec $BYOBU_PREFIX/bin/byobu "$@"
;;