diff options
author | Bill Nottingham <notting@redhat.com> | 2006-01-06 21:44:55 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2006-01-06 21:44:55 +0000 |
commit | 0135e70d7b6b7d26f2bcd8b68a4aa29413ce0592 (patch) | |
tree | aecda7ad34e2a2be668764c07f5ae1837e779eda | |
parent | 3d581999789d66a892efbd987c539d6fd54489a0 (diff) | |
download | initscripts-0135e70d7b6b7d26f2bcd8b68a4aa29413ce0592.tar initscripts-0135e70d7b6b7d26f2bcd8b68a4aa29413ce0592.tar.gz initscripts-0135e70d7b6b7d26f2bcd8b68a4aa29413ce0592.tar.bz2 initscripts-0135e70d7b6b7d26f2bcd8b68a4aa29413ce0592.tar.xz initscripts-0135e70d7b6b7d26f2bcd8b68a4aa29413ce0592.zip |
don't run unicode_start for subshells (#176832)
-rwxr-xr-x | lang.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 && unicode_start $SYSFONT $SYSFONTACM fi ;; |