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

index b9166aeef45d25ea318352aeb83bb4fa5d6e4654..a822e80cc298376d8f2a1108d9c7f5e59f41acd7 100644 (file)
@@ -393,7 +393,7 @@ do
         --rootfs)       rootfs_path=$2; shift 2;;
         -n|--name)      name=$2; shift 2;;
         -P|--profile)   profile=$2; shift 2;;
-        -c|--clean)     clean=$2; shift 2;;
+        -c|--clean)     clean=1; shift 1;;
         -R|--release)   release=$2; shift 2;;
         -4|--ipv4)      ipv4=$2; shift 2;;
         -6|--ipv6)      ipv6=$2; shift 2;;