From: Christian Brauner Date: Mon, 6 Aug 2018 14:43:35 +0000 (+0200) Subject: templates: avoid endless loop X-Git-Tag: lxc-3.1.0~174^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2513%2Fhead;p=thirdparty%2Flxc.git templates: avoid endless loop Closes #2512. Signed-off-by: Christian Brauner --- diff --git a/templates/lxc-busybox.in b/templates/lxc-busybox.in index c283b00cb..7243b36ef 100644 --- a/templates/lxc-busybox.in +++ b/templates/lxc-busybox.in @@ -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;;