From: Michael Adam Date: Thu, 8 Jan 2015 09:03:05 +0000 (+0100) Subject: lxc-centos: fix parsing of option "--clean": it takes no argument X-Git-Tag: lxc-1.0.8~201 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b60ce6b26f8f14adfcddb4f716459a872681e0a7;p=thirdparty%2Flxc.git lxc-centos: fix parsing of option "--clean": it takes no argument Signed-off-by: Michael Adam Signed-off-by: Serge Hallyn --- diff --git a/templates/lxc-centos.in b/templates/lxc-centos.in index 128dc167c..f11ce2a55 100644 --- a/templates/lxc-centos.in +++ b/templates/lxc-centos.in @@ -691,7 +691,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;; --repo) repo="$2"; shift 2;; -a|--arch) newarch=$2; shift 2;;