aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d')
-rw-r--r--rc.d/init.d/functions2
-rwxr-xr-xrc.d/rc2
2 files changed, 2 insertions, 2 deletions
diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions
index 70821c5f..9825019a 100644
--- a/rc.d/init.d/functions
+++ b/rc.d/init.d/functions
@@ -19,7 +19,7 @@ export PATH
[ -z "${CONSOLETYPE:-}" ] && CONSOLETYPE="`/sbin/consoletype`"
if [ -f /etc/sysconfig/i18n -a -z "${NOLOCALE:-}" -a -z "${LANGSH_SOURCED:-}" ] ; then
- . /etc/profile.d/lang.sh
+ . /etc/profile.d/lang.sh 2>/dev/null
# avoid propagating LANGSH_SOURCED any further
unset LANGSH_SOURCED
fi
diff --git a/rc.d/rc b/rc.d/rc
index 50bd477f..aaa45e66 100755
--- a/rc.d/rc
+++ b/rc.d/rc
@@ -52,7 +52,7 @@ fi
# Set language, vc settings once to avoid doing it for every init script
# through functions
if [ -f /etc/sysconfig/i18n -a -z "${NOLOCALE:-}" ] ; then
- . /etc/profile.d/lang.sh
+ . /etc/profile.d/lang.sh 2>/dev/null
export LANGSH_SOURCED=1
fi