dracut: unset LC_* after setting LANG and LC_ALL

otherwise bash/glibc might complain verbosely about not finding locales
master
Harald Hoyer 2017-01-18 10:35:41 +01:00
parent 1d832b4bf4
commit 8a32bf6107
1 changed files with 2 additions and 2 deletions

View File

@ -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