Commit fe9d4df4 by Michael Adam Committed by Serge Hallyn

lxc-openmandriva: fix parsing of option "--clean": it takes no argument

parent 4986f1c4
...@@ -377,7 +377,7 @@ do ...@@ -377,7 +377,7 @@ do
--rootfs) rootfs_path=$2; shift 2;; --rootfs) rootfs_path=$2; shift 2;;
-n|--name) name=$2; shift 2;; -n|--name) name=$2; shift 2;;
-P|--profile) profile=$2; shift 2;; -P|--profile) profile=$2; shift 2;;
-c|--clean) clean=$2; shift 2;; -c|--clean) clean=1; shift 1;;
-R|--release) release=$2; shift 2;; -R|--release) release=$2; shift 2;;
-A|--arch) arch=$2; shift 2;; -A|--arch) arch=$2; shift 2;;
-4|--ipv4) ipv4=$2; shift 2;; -4|--ipv4) ipv4=$2; shift 2;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment