From: Michael Adam Date: Thu, 8 Jan 2015 09:48:40 +0000 (+0100) Subject: lxc-openmandriva: fix parsing of option "--clean": it takes no argument X-Git-Tag: lxc-1.1.0.rc1~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe9d4df40a978c643285e15dd99a2187a1bcfec9;p=thirdparty%2Flxc.git lxc-openmandriva: fix parsing of option "--clean": it takes no argument Signed-off-by: Michael Adam Signed-off-by: Serge Hallyn --- diff --git a/templates/lxc-openmandriva.in b/templates/lxc-openmandriva.in index 45e2efa86..465617789 100644 --- a/templates/lxc-openmandriva.in +++ b/templates/lxc-openmandriva.in @@ -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;;