[lxc-devel] [PATCH] lxc-create: fix passing over first argument to template script

Natanael Copa ncopa at alpinelinux.org
Thu Nov 22 13:16:23 UTC 2012


The e60a8164c12d565f70071ff6b32b823dd495df9e introduced a bug that caused
first argument passed over to the template script get lost.

This patch fixes it.

Signed-off-by: Natanael Copa <ncopa at alpinelinux.org>
---
 src/lxc/lxc-create.in | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/lxc/lxc-create.in b/src/lxc/lxc-create.in
index e8056e9..26ec6a2 100644
--- a/src/lxc/lxc-create.in
+++ b/src/lxc/lxc-create.in
@@ -137,7 +137,6 @@ while [ $# -gt 0 ]; do
 		shift
 		;;
             --)
-		shift
 		break;;
 	    -?)
 		usage_err "unknown option '$opt'"
-- 
1.8.0





More information about the lxc-devel mailing list