From 0320082b72105bb90863d43b3051623381cde73a Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 11 Nov 2008 19:51:52 -0500 Subject: Ignore return code from consoletype (#471123) --- lang.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1