The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxc/pull/2513

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
Closes #2512.

Signed-off-by: Christian Brauner <christian.brau...@ubuntu.com>
From 46a6646a833e26bb405c6f37d317b3b37e7b73c5 Mon Sep 17 00:00:00 2001
From: Christian Brauner <christian.brau...@ubuntu.com>
Date: Mon, 6 Aug 2018 16:43:35 +0200
Subject: [PATCH] templates: avoid endless loop

Closes #2512.

Signed-off-by: Christian Brauner <christian.brau...@ubuntu.com>
---
 templates/lxc-busybox.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;;
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to