aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmageia/etc/profile.d/lang.csh6
1 files changed, 3 insertions, 3 deletions
diff --git a/mageia/etc/profile.d/lang.csh b/mageia/etc/profile.d/lang.csh
index 4978981c..f53290e9 100755
--- a/mageia/etc/profile.d/lang.csh
+++ b/mageia/etc/profile.d/lang.csh
@@ -18,7 +18,7 @@ if ($LC_SOURCED == 1) then
endif
endif
- set consoletype=`/sbin/consoletype stdout`
+ set consoletype=`/sbin/consoletype stdout 2> /dev/null`
if ($?CHARSET) then
switch ($CHARSET)
@@ -80,7 +80,7 @@ if ($LC_SOURCED == 1) then
breaksw
endsw
if ( -x /bin/unicode_start ) then
- if { /sbin/consoletype fg } then
+ if { /sbin/consoletype fg 2> /dev/null } then
if ( $?SYSFONT ) then
if ( $?SYSFONTACM ) then
unicode_start $SYSFONT $SYSFONTACM
@@ -113,7 +113,7 @@ if ($LC_SOURCED == 1) then
breaksw
endsw
if ( -x /bin/unicode_stop ) then
- if { /sbin/consoletype fg } then
+ if { /sbin/consoletype fg 2> /dev/null } then
/bin/unicode_stop
endif
endif