diff options
author | Nalin Dahyabhai <nalin@redhat.com> | 2002-09-04 14:12:12 +0000 |
---|---|---|
committer | Nalin Dahyabhai <nalin@redhat.com> | 2002-09-04 14:12:12 +0000 |
commit | 270e303c90a411431c2d8a7ed7b904728f0ff653 (patch) | |
tree | 4953ddcff9bcbc700ed31bb54337b0ea84c038ce | |
parent | b75317ad51f353b9789a834f4df32ff5d160d344 (diff) | |
download | initscripts-270e303c90a411431c2d8a7ed7b904728f0ff653.tar initscripts-270e303c90a411431c2d8a7ed7b904728f0ff653.tar.gz initscripts-270e303c90a411431c2d8a7ed7b904728f0ff653.tar.bz2 initscripts-270e303c90a411431c2d8a7ed7b904728f0ff653.tar.xz initscripts-270e303c90a411431c2d8a7ed7b904728f0ff653.zip |
- don't pass $SYSFONTACM to unicode_start if it has no value
-rwxr-xr-x | lang.csh | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -65,11 +65,15 @@ if ($sourced == 1) then switch ($LANG) case *.utf8*: case *.UTF-8*: - if ( $?TERM ) then + if ( $?TERM ) then if ( "$TERM" == "linux" ) then - if ( `/sbin/consoletype` == "vt" ) then - unicode_start $SYSFONT $SYSFONTACM - endif + if ( `/sbin/consoletype` == "vt" ) then + if ( $?SYSFONTACM ) then + unicode_start $SYSFONT $SYSFONTACM + else + unicode_start $SYSFONT + endif + endif endif endif breaksw |