diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-04-27 05:02:13 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-04-27 05:02:13 +0000 |
commit | 3f8b367224452353d2dccd881459b7bd19a0ed59 (patch) | |
tree | 06c7611f54926409d7b92ca4eb03d48a024fe3c7 /etc | |
parent | 230d08f4caccb37fda062b6b6248fe76f32bd998 (diff) |
do not tset if the terminal is already xterm; ok matthieu guenther
Diffstat (limited to 'etc')
-rw-r--r-- | etc/root/dot.profile | 4 |
1 files 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 |