Commit 1f746dcc by Michael Adam Committed by Stéphane Graber

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

parent 6efee35c
...@@ -455,7 +455,7 @@ do ...@@ -455,7 +455,7 @@ do
--) shift 1; break ;; --) shift 1; break ;;
-a|--arch) arch=$2; shift 2;; -a|--arch) arch=$2; shift 2;;
-c|--clean) clean=$2; shift 1;; -c|--clean) clean=1; shift 1;;
--mirror) MIRROR=$2; shift 2;; --mirror) MIRROR=$2; shift 2;;
-n|--name) name=$2; shift 2;; -n|--name) name=$2; shift 2;;
-p|--path) path=$2; shift 2;; -p|--path) path=$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