From f3f69728025d6e128f0756c2baef8a7b29d19132 Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Mon, 27 Apr 2009 05:02:12 +0000 Subject: [PATCH] do not tset if the terminal is already xterm; ok matthieu guenther --- src/etc/root/dot.profile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/etc/root/dot.profile b/src/etc/root/dot.profile index f0c3845e..d45224f8 100644 --- a/src/etc/root/dot.profile +++ b/src/etc/root/dot.profile @@ -1,4 +1,4 @@ -# $OpenBSD: dot.profile,v 1.5 2005/03/30 21:18:33 millert Exp $ +# $OpenBSD: dot.profile,v 1.6 2009/04/27 05:02:12 deraadt Exp $ # # sh/ksh initialization @@ -8,6 +8,6 @@ export PATH export HOME umask 022 -if [ -x /usr/bin/tset ]; then +if [ x"$TERM" != xxterm -a -x /usr/bin/tset ]; then eval `/usr/bin/tset -sQ \?$TERM` fi