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

templates: avoid endless loop
This commit is contained in:
Stéphane Graber 2018-08-06 12:34:44 -04:00 committed by GitHub
commit 85d406c954
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -280,7 +280,7 @@ eval set -- "$options"
while true
do
case "$1" in
-h|--help) usage exit 1;;
-h|--help) usage && exit 1;;
-n|--name) name=$2; shift 2;;
-p|--path) path=$2; shift 2;;
--rootfs) rootfs=$2; shift 2;;