aboutsummaryrefslogtreecommitdiffstats
path: root/lang.sh
diff options
context:
space:
mode:
authorMiloslav Trmac <mitr@volny.cz>2006-01-21 10:51:08 +0000
committerMiloslav Trmac <mitr@volny.cz>2006-01-21 10:51:08 +0000
commitc529621e3c5c8716ab2225e16067cf8b70c8cebf (patch)
tree6f073d02dbc79eca6df8265eeec7eb96b6aa228a /lang.sh
parent762f00560056fe54faaf334371386c2366de9907 (diff)
downloadinitscripts-c529621e3c5c8716ab2225e16067cf8b70c8cebf.tar
initscripts-c529621e3c5c8716ab2225e16067cf8b70c8cebf.tar.gz
initscripts-c529621e3c5c8716ab2225e16067cf8b70c8cebf.tar.bz2
initscripts-c529621e3c5c8716ab2225e16067cf8b70c8cebf.tar.xz
initscripts-c529621e3c5c8716ab2225e16067cf8b70c8cebf.zip
Restore fix of #176832
Diffstat (limited to 'lang.sh')
-rwxr-xr-xlang.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang.sh b/lang.sh
index 50c7c000..2553ec73 100755
--- a/lang.sh
+++ b/lang.sh
@@ -61,7 +61,7 @@ if [ "$sourced" = 1 ]; then
if [ -n "$LANG" ]; then
case $LANG in
*.utf8*|*.UTF-8*)
- if [ "$TERM" = "linux" -a "`/sbin/consoletype`" = "vt" ]; then
+ if [ "$TERM" = "linux" -a "`/sbin/consoletype`" = "vt" -a $SHLVL -eq 1 ]; then
[ -x /bin/unicode_start ] && /sbin/consoletype fg && /bin/unicode_start $SYSFONT $SYSFONTACM
fi
;;