[lxc-devel] [PATCH] display warning when yum missing in fedora template
Stéphane Graber
stgraber at ubuntu.com
Fri Oct 5 13:54:27 UTC 2012
On 10/04/2012 01:12 PM, Dwight Engen wrote:
> 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
Looks good, applied to staging.
--
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 897 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20121005/36850584/attachment.pgp>
More information about the lxc-devel
mailing list