aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2009-06-18 10:45:28 -0400
committerBill Nottingham <notting@redhat.com>2009-06-18 10:45:28 -0400
commit7932211055b0f66095ccb1a22cc03e07e2c64d54 (patch)
tree7f2b64b5d04fc18c447a6b17ec7697986f74b4d9 /rc.d/rc
parentcf99b501efa7f4f6dbeedcff2e5dd1375fec0357 (diff)
downloadinitscripts-7932211055b0f66095ccb1a22cc03e07e2c64d54.tar
initscripts-7932211055b0f66095ccb1a22cc03e07e2c64d54.tar.gz
initscripts-7932211055b0f66095ccb1a22cc03e07e2c64d54.tar.bz2
initscripts-7932211055b0f66095ccb1a22cc03e07e2c64d54.tar.xz
initscripts-7932211055b0f66095ccb1a22cc03e07e2c64d54.zip
Redirect bash errors on 'unset' to /dev/null. (#482888)
Diffstat (limited to 'rc.d/rc')
-rwxr-xr-xrc.d/rc2
1 files changed, 1 insertions, 1 deletions
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