Commit e4d4da62 by Michael Adam Committed by Serge Hallyn

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

parent bb2afd60
...@@ -475,7 +475,7 @@ do ...@@ -475,7 +475,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;;
--packages) packages=$2; shift 2;; --packages) packages=$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