]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
lxc-openmandriva: fix parsing of option "--clean": it takes no argument
authorMichael Adam <obnox@samba.org>
Thu, 8 Jan 2015 09:48:40 +0000 (10:48 +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-openmandriva.in

index 45e2efa8692179e644320f7e4d442fbbb26ee2c7..4656177896513eaf4b474285940cde058c110dd4 100644 (file)
@@ -377,7 +377,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;;
         -A|--arch)      arch=$2; shift 2;;
         -4|--ipv4)      ipv4=$2; shift 2;;