* usr/bin/byobu-launcher.in: LP: #1338260

- add some helpful information about nested sessions
This commit is contained in:
Dustin Kirkland 2015-08-31 11:51:46 -05:00
commit 38fa582f92
2 changed files with 7 additions and 0 deletions

2
debian/changelog vendored
View file

@ -23,6 +23,8 @@ byobu (5.95) unreleased; urgency=medium
* usr/bin/byobu.in: LP: #1369783
- respect user's custom default-command and/or default-shell
in the first window launched
* usr/bin/byobu-launcher.in: LP: #1338260
- add some helpful information about nested sessions
[ Fortunato Ventre ]
* usr/lib/byobu/include/constants:

View file

@ -36,9 +36,14 @@ if [ -O "$HOME" ]; then
# Safeguard against ssh-ing into ourself, which causes an infinite loop
exec $BYOBU_PREFIX/bin/byobu "$@"
else
echo "INFO: Disabling auto-launch of Byobu in this SSH connection, to avoid a potential infinite loop" 1>&2
echo "INFO: You can still run 'byobu' manually at the command line, if you know what you're doing" 1>&2
true
fi
else
echo "INFO: Disabling auto-launch of Byobu in this nested session, to avoid a potential infinite loop" 1>&2
echo "INFO: You can still run 'byobu' manually at the command line, if you know what you're doing" 1>&2
echo "INFO: And you can set LC_BYOBU=1 in your environment to override this safeguard.\n" 1>&2
true
fi
;;