mirror of
git://github.com/lxc/lxc
synced 2025-09-03 22:19:30 +00:00
display warning when yum missing in fedora template
This early exit is preventing the warning message that follows it from being shown. Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
This commit is contained in:
committed by
Stéphane Graber
parent
bf7d76cf3a
commit
a1bd64823c
@@ -354,7 +354,6 @@ needed_pkgs=""
|
|||||||
type yum >/dev/null 2>&1
|
type yum >/dev/null 2>&1
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
needed_pkgs="yum $needed_pkgs"
|
needed_pkgs="yum $needed_pkgs"
|
||||||
exit 1
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
type curl >/dev/null 2>&1
|
type curl >/dev/null 2>&1
|
||||||
|
Reference in New Issue
Block a user