]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
lxc-fedora: fix parsing of option "--clean": it takes no argument
authorMichael Adam <obnox@samba.org>
Thu, 8 Jan 2015 09:00:06 +0000 (10:00 +0100)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Sat, 10 Jan 2015 16:07:41 +0000 (10:07 -0600)
Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
templates/lxc-fedora.in

index adfaab2da9683976efe4e23fd574b51f7fef61e0..7789a0296eba4d61a51c01034d48125a580135f6 100644 (file)
@@ -1215,7 +1215,7 @@ do
         -p|--path)      path=$2; shift 2;;
         --rootfs)       rootfs=$2; shift 2;;
         -n|--name)      name=$2; shift 2;;
-        -c|--clean)     clean=$2; shift 2;;
+        -c|--clean)     clean=1; shift 1;;
         -R|--release)   release=$2; shift 2;;
         -a|--arch)      newarch=$2; shift 2;;
         --fqdn)         utsname=$2; shift 2;;