]> git.proxmox.com Git - mirror_lxc.git/commitdiff
lxc-debian: Don't eat the argument after -c
authorStéphane Graber <stgraber@ubuntu.com>
Fri, 21 Mar 2014 14:20:26 +0000 (10:20 -0400)
committerStéphane Graber <stgraber@ubuntu.com>
Fri, 21 Mar 2014 14:25:02 +0000 (10:25 -0400)
Reported-by: Robie Basak <robie.basak@canonical.com>
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
templates/lxc-debian.in

index 7ad8e3cb2b18b5e3960c25ff941cb8ab45990c74..aadfe25f5683c28ac8fb86f258a140ff8e17c90d 100644 (file)
@@ -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