If we source locale.sh with a LANG already set and locale.conf doesn't
exist, we may never properly set the locale according rc.conf.

Signed-off-by: Dave Reisner <[email protected]>
---
 locale.sh |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/locale.sh b/locale.sh
index 4d09f78..fe82378 100644
--- a/locale.sh
+++ b/locale.sh
@@ -1,3 +1,5 @@
+unset LANG
+
 if [ -s /etc/locale.conf ]; then
        . /etc/locale.conf
 fi
-- 
1.7.7.4

Reply via email to