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

index 89971da3462282b94325aef531ca1fc945c0ae95..20ffdbd08d85b125d27c5962b477bbed2d8d5eb7 100644 (file)
@@ -404,7 +404,7 @@ do
         --rootfs)       rootfs=$2; shift 2;;
         -n|--name)      name=$2; shift 2;;
         -r|--release)   DISTRO=$2; shift 2;;
-        -c|--clean)     clean=$2; shift 2;;
+        -c|--clean)     clean=1; shift 1;;
         --)             shift 1; break ;;
         *)              break ;;
     esac