diff options
author | Olav Vitters <olav@vitters.nl> | 2020-08-17 21:00:16 +0200 |
---|---|---|
committer | Olav Vitters <olav@vitters.nl> | 2020-08-17 21:00:16 +0200 |
commit | f9c418a4fa294d62eb333a6d301df09ba68dc243 (patch) | |
tree | 1f60aac6e1992e6a6ec8ebf212456badf4707f97 /mageia | |
parent | c53dacaf7805fffa86c902a943df0fbf9c58c4f1 (diff) | |
download | initscripts-f9c418a4fa294d62eb333a6d301df09ba68dc243.tar initscripts-f9c418a4fa294d62eb333a6d301df09ba68dc243.tar.gz initscripts-f9c418a4fa294d62eb333a6d301df09ba68dc243.tar.bz2 initscripts-f9c418a4fa294d62eb333a6d301df09ba68dc243.tar.xz initscripts-f9c418a4fa294d62eb333a6d301df09ba68dc243.zip |
lang.csh: silence consoletype warnings
Diffstat (limited to 'mageia')
-rwxr-xr-x | mageia/etc/profile.d/lang.csh | 6 |
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 |