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.1.0.rc1~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6976826fed04d006608f87ba902a8517358c15ec;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 ee8817854..ee34289ea 100644 --- a/templates/lxc-centos.in +++ b/templates/lxc-centos.in @@ -697,7 +697,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;;