]> 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)
committerStéphane Graber <stgraber@ubuntu.com>
Fri, 30 Jan 2015 08:54:37 +0000 (09:54 +0100)
Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
templates/lxc-opensuse.in

index 8d1d4e17d2745d2106bcf0afc55961e0dc843d0a..89d179a3cdd306626b5cd214caaad2cfb0859a44 100644 (file)
@@ -372,7 +372,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;;
         --)             shift 1; break ;;
         *)              break ;;
     esac