[lxc-devel] [PATCH] lxc-debian: Don't eat the argument after -c
Serge Hallyn
serge.hallyn at ubuntu.com
Fri Mar 21 14:22:28 UTC 2014
Quoting Stéphane Graber (stgraber at ubuntu.com):
> Reported-by: Robie Basak <robie.basak at canonical.com>
> Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>
> ---
> templates/lxc-debian.in | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/templates/lxc-debian.in b/templates/lxc-debian.in
> index 7ad8e3c..aadfe25 100644
> --- a/templates/lxc-debian.in
> +++ b/templates/lxc-debian.in
> @@ -361,7 +361,7 @@ do
> -a|--arch) arch=$2; shift 2;;
> -r|--release) release=$2; shift 2;;
> -n|--name) name=$2; shift 2;;
> - -c|--clean) clean=$2; shift 2;;
> + -c|--clean) clean=$2; shift 1;;
> --) shift 1; break ;;
> *) break ;;
> esac
> --
> 1.9.1
>
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel
More information about the lxc-devel
mailing list