From 7932211055b0f66095ccb1a22cc03e07e2c64d54 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 18 Jun 2009 10:45:28 -0400 Subject: Redirect bash errors on 'unset' to /dev/null. (#482888) --- rc.d/init.d/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rc.d/init.d/functions') 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 -- cgit v1.2.1