From 339aaf3e26269cf256f92058b0254d78e46ad32b Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Wed, 18 Jul 2012 17:26:35 +0200 Subject: DAEMON_LOCALE: default to 'yes' rather than 'no' Signed-off-by: Tom Gundersen --- functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'functions') diff --git a/functions b/functions index 934cb75..6f29a6f 100644 --- a/functions +++ b/functions @@ -713,7 +713,7 @@ if (( RC_FUNCTIONS_HOOK_FUNCS_DEFINED != 1 )); then declare -r RC_FUNCTIONS_HOOK_FUNCS_DEFINED=1 fi -if [[ $DAEMON_LOCALE = [yY][eE][sS] ]]; then +if [[ $DAEMON_LOCALE != [nN][oO] ]]; then export LANG=${LOCALE:-C} if [[ -r /etc/locale.conf ]]; then parse_envfile /etc/locale.conf "${localevars[@]}" -- cgit v1.2.3