diff --git a/byobu b/byobu index 08269083..b46f8cb9 100755 --- a/byobu +++ b/byobu @@ -28,7 +28,7 @@ if [ "$1" = "-v" ]; then fi # Nesting byobu inside of screen doesn't work well -if [ "$TERM" = "screen" ]; then +if [ ! -z "$STY" ]; then echo `gettext "Exit the current screen session to run $PKG"` exit 1 fi