From 3f8b367224452353d2dccd881459b7bd19a0ed59 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Mon, 27 Apr 2009 05:02:13 +0000 Subject: do not tset if the terminal is already xterm; ok matthieu guenther --- etc/root/dot.profile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/root/dot.profile b/etc/root/dot.profile index f0c3845e167..d45224f86ae 100644 --- a/etc/root/dot.profile +++ b/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 -- cgit v1.2.3