]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
99base/init: do not fail, when importing the original kernel environment
authorHarald Hoyer <harald@redhat.com>
Thu, 1 Sep 2011 14:01:21 +0000 (16:01 +0200)
committerHarald Hoyer <harald@redhat.com>
Thu, 1 Sep 2011 14:01:21 +0000 (16:01 +0200)
modules.d/99base/init

index b666d3edfab8df26de4b00011d4033442694f67b..4cbe34226b0b345adc1e8bbdb19cc5fd5249d6fa 100755 (executable)
@@ -392,7 +392,7 @@ for i in $(export -p); do
             unset "$i";;
     esac
 done
-. /tmp/export.orig
+. /tmp/export.orig 2>/dev/null || :
 rm -f /tmp/export.orig
 
 initargs=""