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