]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
lxc-debian: fix parsing of option "--clean": it takes no argument.
authorMichael Adam <obnox@samba.org>
Thu, 8 Jan 2015 08:32:39 +0000 (09:32 +0100)
committerStéphane Graber <stgraber@ubuntu.com>
Fri, 30 Jan 2015 08:51:34 +0000 (09:51 +0100)
Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
templates/lxc-debian.in

index 706ed32f28a9f4130fb7d3a3958df3ed9b2cfdec..f6b53cd273f124d859287cdeb0608b0768314e0e 100644 (file)
@@ -455,7 +455,7 @@ do
            --)                shift 1; break ;;
 
         -a|--arch)            arch=$2; shift 2;;
-        -c|--clean)           clean=$2; shift 1;;
+        -c|--clean)           clean=1; shift 1;;
            --mirror)          MIRROR=$2; shift 2;;
         -n|--name)            name=$2; shift 2;;
         -p|--path)            path=$2; shift 2;;