Blame 0034-99base-init-do-not-fail-when-importing-the-original-.patch
|
Harald Hoyer |
55891e |
From dffb93feaf6c179dbe4f854f1266fbe8529dbea9 Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
55891e |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
55891e |
Date: Thu, 1 Sep 2011 16:01:21 +0200
|
|
Harald Hoyer |
55891e |
Subject: [PATCH] 99base/init: do not fail, when importing the original kernel
|
|
Harald Hoyer |
55891e |
environment
|
|
Harald Hoyer |
55891e |
|
|
Harald Hoyer |
55891e |
---
|
|
Harald Hoyer |
55891e |
modules.d/99base/init | 2 +-
|
|
Harald Hoyer |
55891e |
1 files changed, 1 insertions(+), 1 deletions(-)
|
|
Harald Hoyer |
55891e |
|
|
Harald Hoyer |
55891e |
diff --git a/modules.d/99base/init b/modules.d/99base/init
|
|
Harald Hoyer |
55891e |
index b666d3e..4cbe342 100755
|
|
Harald Hoyer |
55891e |
--- a/modules.d/99base/init
|
|
Harald Hoyer |
55891e |
+++ b/modules.d/99base/init
|
|
Harald Hoyer |
55891e |
@@ -392,7 +392,7 @@ for i in $(export -p); do
|
|
Harald Hoyer |
55891e |
unset "$i";;
|
|
Harald Hoyer |
55891e |
esac
|
|
Harald Hoyer |
55891e |
done
|
|
Harald Hoyer |
55891e |
-. /tmp/export.orig
|
|
Harald Hoyer |
55891e |
+. /tmp/export.orig 2>/dev/null || :
|
|
Harald Hoyer |
55891e |
rm -f /tmp/export.orig
|
|
Harald Hoyer |
55891e |
|
|
Harald Hoyer |
55891e |
initargs=""
|