summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2011-12-13 01:01:04 +0100
committerTom Gundersen <teg@jklm.no>2011-12-13 01:02:14 +0100
commitaaf2609b8e234f828f5c7400c54a7ba79f95692b (patch)
tree70c3696eb05a9bf73c5ffb889b0b5cf5887b8b2c
parent95dbc66b2334e8d42bbc605d86e6526445cbf1e4 (diff)
locale: export LANG to daemons
This was not done in case $DAEMON_LOCALE was set and locale.conf did not exist. Fixes FS#27498. Signed-off-by: Tom Gundersen <teg@jklm.no>
-rw-r--r--functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions b/functions
index 213dc81..b965e2d 100644
--- a/functions
+++ b/functions
@@ -604,7 +604,7 @@ set_consolefont() {
}
if [[ $DAEMON_LOCALE = [yY][eE][sS] ]]; then
- LANG=${LOCALE:-C}
+ export LANG=${LOCALE:-C}
if [[ -r /etc/locale.conf ]]; then
parse_envfile /etc/locale.conf "${localevars[@]}"
fi