diff options
author | Bill Nottingham <notting@redhat.com> | 2003-03-06 16:17:03 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2003-03-06 16:17:03 +0000 |
commit | 0b0e541591d87cd10674873deccf311bab52573d (patch) | |
tree | e355740f30f004c932061ce2be7f7d2db9f62d1f | |
parent | aac707b24ff964ab16c886a760adf63af3ff71b2 (diff) | |
download | initscripts-0b0e541591d87cd10674873deccf311bab52573d.tar initscripts-0b0e541591d87cd10674873deccf311bab52573d.tar.gz initscripts-0b0e541591d87cd10674873deccf311bab52573d.tar.bz2 initscripts-0b0e541591d87cd10674873deccf311bab52573d.tar.xz initscripts-0b0e541591d87cd10674873deccf311bab52573d.zip |
use -x, not -f (#85704)
-rwxr-xr-x | lang.csh | 2 | ||||
-rwxr-xr-x | lang.sh | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -74,7 +74,7 @@ if ($sourced == 1) then if ( $?TERM ) then if ( "$TERM" == "linux" ) then if ( `/sbin/consoletype` == "vt" ) then - if ( -f /bin/unicode_start ) then + if ( -x /bin/unicode_start ) then if ( $?SYSFONTACM ) then unicode_start $SYSFONT $SYSFONTACM else @@ -70,7 +70,7 @@ if [ "$sourced" = 1 ]; then case $LANG in *.utf8*|*.UTF-8*) if [ "$TERM" = "linux" -a "`/sbin/consoletype`" = "vt" ]; then - [ -f /bin/unicode_start ] && unicode_start $SYSFONT $SYSFONTACM + [ -x /bin/unicode_start ] && unicode_start $SYSFONT $SYSFONTACM fi ;; esac |