aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlang.csh2
-rwxr-xr-xlang.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/lang.csh b/lang.csh
index 1097168b..b119ca51 100755
--- a/lang.csh
+++ b/lang.csh
@@ -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
diff --git a/lang.sh b/lang.sh
index 8cbeb0fd..dd16e59d 100755
--- a/lang.sh
+++ b/lang.sh
@@ -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