aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/functions
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d/init.d/functions')
-rwxr-xr-xrc.d/init.d/functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions
index 65c10ddf..8d055bc4 100755
--- a/rc.d/init.d/functions
+++ b/rc.d/init.d/functions
@@ -20,7 +20,7 @@ export PATH="/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin"
# Get a sane screen width
[ -z "$COLUMNS" ] && COLUMNS=80
-if [ -f /etc/sysconfig/i18n ] ; then
+if [ -f /etc/sysconfig/i18n -a -z "$NOLOCALE" ] ; then
. /etc/sysconfig/i18n
if [ "$LANG" = "ja_JP.eucJP" -a "`/sbin/consoletype`" != "pty" ]; then
unset LANG