aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2008-11-11 19:51:52 -0500
committerBill Nottingham <notting@redhat.com>2008-11-11 19:51:52 -0500
commit0320082b72105bb90863d43b3051623381cde73a (patch)
tree8d87d41a389e596ab37b0528f8d5090a9d1916e1
parent015005cf05462b6aeb39fbc27432031dc15f5728 (diff)
downloadinitscripts-0320082b72105bb90863d43b3051623381cde73a.tar
initscripts-0320082b72105bb90863d43b3051623381cde73a.tar.gz
initscripts-0320082b72105bb90863d43b3051623381cde73a.tar.bz2
initscripts-0320082b72105bb90863d43b3051623381cde73a.tar.xz
initscripts-0320082b72105bb90863d43b3051623381cde73a.zip
Ignore return code from consoletype (#471123)
-rwxr-xr-xlang.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang.sh b/lang.sh
index b1f3b1ad..936c84c4 100755
--- a/lang.sh
+++ b/lang.sh
@@ -42,7 +42,7 @@ if [ "$sourced" = 1 ]; then
consoletype=$CONSOLETYPE
if [ -z "$consoletype" ]; then
- consoletype=$(/sbin/consoletype)
+ consoletype=$(/sbin/consoletype || :)
fi
if [ -n "$LANG" ]; then