[lxc-devel] [PATCH] lxc-create: fix passing over first argument to template script

Stéphane Graber stgraber at ubuntu.com
Mon Nov 26 14:30:05 UTC 2012


On 11/22/2012 08:16 AM, Natanael Copa wrote:
> The e60a8164c12d565f70071ff6b32b823dd495df9e introduced a bug that caused
> first argument passed over to the template script get lost.
> 
> This patch fixes it.
> 
> Signed-off-by: Natanael Copa <ncopa at alpinelinux.org>
> ---
>  src/lxc/lxc-create.in | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/src/lxc/lxc-create.in b/src/lxc/lxc-create.in
> index e8056e9..26ec6a2 100644
> --- a/src/lxc/lxc-create.in
> +++ b/src/lxc/lxc-create.in
> @@ -137,7 +137,6 @@ while [ $# -gt 0 ]; do
>  		shift
>  		;;
>              --)
> -		shift
>  		break;;
>  	    -?)
>  		usage_err "unknown option '$opt'"
> 

Acked-by: Stéphane Graber <stgraber at ubuntu.com>

Applied to staging branch. Thanks.

-- 
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: 899 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20121126/ce119f69/attachment.pgp>


More information about the lxc-devel mailing list