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 b666d3e..4cbe342 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=""