* motd+shell: should use exec to run shell, LP: #365115

Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
Dustin Kirkland 2009-04-22 21:55:48 -05:00
commit a52f0cfa43
2 changed files with 3 additions and 3 deletions

4
debian/changelog vendored
View file

@ -1,8 +1,8 @@
screen-profiles (1.49) unreleased; urgency=low
* UNRELEASED
* motd+shell: should use exec to run shell, LP: #365115
-- Dustin Kirkland <kirkland@ubuntu.com> Tue, 21 Apr 2009 16:46:46 -0500
-- Dustin Kirkland <kirkland@ubuntu.com> Wed, 22 Apr 2009 21:50:00 -0500
screen-profiles (1.48-0ubuntu1) jaunty; urgency=low

View file

@ -18,4 +18,4 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
[ -r /etc/motd ] && cat /etc/motd
[ -x $SHELL ] && $SHELL || /bin/sh
[ -n "$SHELL" -a -x "$SHELL" ] && exec "$SHELL" || exec /bin/sh