From bfba5b9a7bcef56b48695bda2eaa7423f48c4db1 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Fri, 30 Mar 2001 17:34:08 +0000 Subject: fix su errors specify full path to /sbin/consoletype (from milan.kerslager@spsselib.hiedu.cz) don't turn locale settings of 'C' into en_US --- lang.csh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lang.csh') diff --git a/lang.csh b/lang.csh index b644c16c..eec5b267 100755 --- a/lang.csh +++ b/lang.csh @@ -29,7 +29,7 @@ if ($sourced == 1) then case latin2-ucw*: if ( $?TERM ) then if ( "$TERM" == "linux" ) then - if ( `consoletype` == "vt" ) then + if ( `/sbin/consoletype` == "vt" ) then /bin/echo -n -e '\033(K' > /proc/$$/fd/15 endif endif -- cgit