summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2012-07-18 17:26:35 +0200
committerTom Gundersen <teg@jklm.no>2012-07-18 17:26:35 +0200
commit339aaf3e26269cf256f92058b0254d78e46ad32b (patch)
treef108426d2e642502f2bd71b0416980a0cd682ad3 /functions
parent072a18662e7eb082eebfc24e8ad6b7c32439afe4 (diff)
DAEMON_LOCALE: default to 'yes' rather than 'no'
Signed-off-by: Tom Gundersen <teg@jklm.no>
Diffstat (limited to 'functions')
-rw-r--r--functions2
1 files changed, 1 insertions, 1 deletions
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[@]}"