Unverified Commit 85d406c9 by Stéphane Graber Committed by GitHub

Merge pull request #2513 from brauner/2018-08-06/fix_busybox

templates: avoid endless loop
parents f26dc127 46a6646a
...@@ -280,7 +280,7 @@ eval set -- "$options" ...@@ -280,7 +280,7 @@ eval set -- "$options"
while true while true
do do
case "$1" in case "$1" in
-h|--help) usage exit 1;; -h|--help) usage && exit 1;;
-n|--name) name=$2; shift 2;; -n|--name) name=$2; shift 2;;
-p|--path) path=$2; shift 2;; -p|--path) path=$2; shift 2;;
--rootfs) rootfs=$2; shift 2;; --rootfs) rootfs=$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