[lxc-devel] [PATCH] display warning when yum missing in fedora template

Dwight Engen dwight.engen at oracle.com
Thu Oct 4 17:12:41 UTC 2012


This early exit is preventing the warning message that follows it from
being shown.

Signed-off-by: Dwight Engen <dwight.engen at oracle.com>
---
 templates/lxc-fedora.in |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/templates/lxc-fedora.in b/templates/lxc-fedora.in
index 0bcb396..edd4b9d 100644
--- a/templates/lxc-fedora.in
+++ b/templates/lxc-fedora.in
@@ -354,7 +354,6 @@ needed_pkgs=""
 type yum >/dev/null 2>&1
 if [ $? -ne 0 ]; then
     needed_pkgs="yum $needed_pkgs"
-    exit 1
 fi
 
 type curl >/dev/null 2>&1
-- 
1.7.1




More information about the lxc-devel mailing list