From: Harald Hoyer Date: Wed, 18 Jan 2017 09:35:41 +0000 (+0100) Subject: dracut: unset LC_* after setting LANG and LC_ALL X-Git-Tag: 045~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a32bf6107d2eff26bb08b8c2a47ec3296b653da;p=thirdparty%2Fdracut.git dracut: unset LC_* after setting LANG and LC_ALL otherwise bash/glibc might complain verbosely about not finding locales --- diff --git a/dracut.sh b/dracut.sh index 02b32645b..4f33d0a02 100755 --- a/dracut.sh +++ b/dracut.sh @@ -627,10 +627,10 @@ if [[ $kernel ]]; then fi fi -unset LC_MESSAGES -unset LC_CTYPE export LC_ALL=C export LANG=C +unset LC_MESSAGES +unset LC_CTYPE unset LD_LIBRARY_PATH unset LD_PRELOAD unset GREP_OPTIONS