diff options
author | Tom Gundersen <teg@jklm.no> | 2011-12-13 01:01:04 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2011-12-13 01:02:14 +0100 |
commit | aaf2609b8e234f828f5c7400c54a7ba79f95692b (patch) | |
tree | 70c3696eb05a9bf73c5ffb889b0b5cf5887b8b2c | |
parent | 95dbc66b2334e8d42bbc605d86e6526445cbf1e4 (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-- | functions | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |