[lxc-devel] [PATCH] lxc-debian: Don't eat the argument after -c

Stéphane Graber stgraber at ubuntu.com
Fri Mar 21 14:21:08 UTC 2014


Reported-by: Robie Basak <robie.basak at canonical.com>
Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
---
 templates/lxc-debian.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/lxc-debian.in b/templates/lxc-debian.in
index 7ad8e3c..aadfe25 100644
--- a/templates/lxc-debian.in
+++ b/templates/lxc-debian.in
@@ -361,7 +361,7 @@ do
         -a|--arch)      arch=$2; shift 2;;
         -r|--release)   release=$2; shift 2;;
         -n|--name)      name=$2; shift 2;;
-        -c|--clean)     clean=$2; shift 2;;
+        -c|--clean)     clean=$2; shift 1;;
         --)             shift 1; break ;;
         *)              break ;;
     esac
-- 
1.9.1



More information about the lxc-devel mailing list