* usr/bin/byobu-shell.in: LP: #1500109

- respect ~/.hushlogin file
This commit is contained in:
Dustin Kirkland 2016-01-14 08:52:15 +02:00
commit 3feb2ba12c
2 changed files with 3 additions and 1 deletions

2
debian/changelog vendored
View file

@ -4,6 +4,8 @@ byobu (5.101) unreleased; urgency=medium
- need a trailing whitespace
* README: LP: #1526844
- add a note about installing coreutils
* usr/bin/byobu-shell.in: LP: #1500109
- respect ~/.hushlogin file
-- Dustin Kirkland <kirkland@ubuntu.com> Wed, 02 Dec 2015 13:44:23 -0600

View file

@ -26,7 +26,7 @@ FLAG="$BYOBU_CONFIG_DIR/.welcome-displayed"
# Find a MOTD, seems that they're moving around
for i in /etc/motd /run/motd.dynamic /run/motd; do
[ -r $i ] && cat $i && break
[ -r $i ] && [ ! -e "$HOME"/.hushlogin ] && cat $i && break
done
if [ ! -e "$FLAG" ]; then