aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-03-30 17:34:08 +0000
committerBill Nottingham <notting@redhat.com>2001-03-30 17:34:08 +0000
commitbfba5b9a7bcef56b48695bda2eaa7423f48c4db1 (patch)
tree6d10ea41c63d6ed0ca9899e281c182a383cbad98
parent0c13c9e1678866ac8d8e0bf23fead7974fb900ee (diff)
downloadinitscripts-bfba5b9a7bcef56b48695bda2eaa7423f48c4db1.tar
initscripts-bfba5b9a7bcef56b48695bda2eaa7423f48c4db1.tar.gz
initscripts-bfba5b9a7bcef56b48695bda2eaa7423f48c4db1.tar.bz2
initscripts-bfba5b9a7bcef56b48695bda2eaa7423f48c4db1.tar.xz
initscripts-bfba5b9a7bcef56b48695bda2eaa7423f48c4db1.zip
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
-rwxr-xr-xlang.csh2
1 files changed, 1 insertions, 1 deletions
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