From aaf2609b8e234f828f5c7400c54a7ba79f95692b Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Tue, 13 Dec 2011 01:01:04 +0100 Subject: 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 --- functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'functions') 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 -- cgit v1.2.3