From f947ecffc4a9109d0790e5b2853e2a835b4cf81b Mon Sep 17 00:00:00 2001 From: Judd Vinet Date: Fri, 4 Nov 2005 18:29:25 +0000 Subject: fixed a syntax bug in locale setting --- rc.sysinit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc.sysinit b/rc.sysinit index 497259b..e9dad36 100755 --- a/rc.sysinit +++ b/rc.sysinit @@ -164,7 +164,7 @@ if [ "$LOCALE" != "" ]; then /bin/chmod 755 /etc/profile.d/locale.sh # If locale is *.utf set console to Unicode mode - if [ `echo $LOCALE | /bin/grep -i utf` != "" ]; then + if [ "`echo $LOCALE | /bin/grep -i utf`" != "" ]; then /usr/bin/kbd_mode -u /usr/bin/dumpkeys | /bin/loadkeys --unicode echo 'for i in `seq 1 12`; do' >>/etc/profile.d/locale.sh -- cgit v1.2.3