]> git.proxmox.com Git - mirror_lxc.git/commitdiff
lxc-create: fix passing over first argument to template script
authorNatanael Copa <ncopa@alpinelinux.org>
Thu, 22 Nov 2012 13:16:23 +0000 (14:16 +0100)
committerStéphane Graber <stgraber@ubuntu.com>
Mon, 26 Nov 2012 14:28:46 +0000 (09:28 -0500)
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@alpinelinux.org>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
src/lxc/lxc-create.in

index e8056e9e3f669a7713bbf3a3dd1b47ad7866be7a..26ec6a267c321802701cf77e21d4e98c43b2bb67 100644 (file)
@@ -137,7 +137,6 @@ while [ $# -gt 0 ]; do
                shift
                ;;
             --)
-               shift
                break;;
            -?)
                usage_err "unknown option '$opt'"