Commit 98d316e2 by Michael Adam Committed by Serge Hallyn

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

parent a2780518
...@@ -1215,7 +1215,7 @@ do ...@@ -1215,7 +1215,7 @@ do
-p|--path) path=$2; shift 2;; -p|--path) path=$2; shift 2;;
--rootfs) rootfs=$2; shift 2;; --rootfs) rootfs=$2; shift 2;;
-n|--name) name=$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;; -R|--release) release=$2; shift 2;;
-a|--arch) newarch=$2; shift 2;; -a|--arch) newarch=$2; shift 2;;
--fqdn) utsname=$2; shift 2;; --fqdn) utsname=$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