dracut: unset GREP_OPTIONS

GREP_OPTIONS can influence the image creation, if set to user defined
values, so unset it.

https://bugzilla.redhat.com/show_bug.cgi?id=676712
master
Harald Hoyer 2012-01-23 10:10:25 +01:00
parent 3ea5d2e28f
commit 1fcf2d2f4a
1 changed files with 1 additions and 0 deletions

1
dracut
View File

@ -278,6 +278,7 @@ fi
PATH=/sbin:/bin:/usr/sbin:/usr/bin
export PATH
unset LD_LIBRARY_PATH
unset GREP_OPTIONS

[[ $debug ]] && {
export PS4='${BASH_SOURCE}@${LINENO}(${FUNCNAME[0]}): ';