]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
dracut: unset GREP_OPTIONS
authorHarald Hoyer <harald@redhat.com>
Mon, 23 Jan 2012 09:10:25 +0000 (10:10 +0100)
committerHarald Hoyer <harald@redhat.com>
Mon, 23 Jan 2012 09:11:04 +0000 (10:11 +0100)
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

dracut

diff --git a/dracut b/dracut
index fbf0f7407d5910e6714286cf1234ab632e63f37f..9c833a8c7d4834c62d4027ee0938d7faaec5387d 100755 (executable)
--- a/dracut
+++ b/dracut
@@ -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]}): ';