From d41e5c4d78683a695c64261ceb5768f11bfe5ddf Mon Sep 17 00:00:00 2001
From: erdgeist <erdgeist@erdgeist.org>
Date: Tue, 11 Apr 2006 19:03:43 +0000
Subject: create -i now doesn't override -c anymore

---
 ezjail-admin | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'ezjail-admin')

diff --git a/ezjail-admin b/ezjail-admin
index 9a0bbb7..1152b10 100755
--- a/ezjail-admin
+++ b/ezjail-admin
@@ -63,7 +63,7 @@ create)
       -x) newjail_fill="NO"; shift;;
       -r) newjail_root="$2"; shift 2;;
       -f) newjail_flavour="$2"; shift 2;;
-      -i) newjail_image="simple"; shift;;
+      -i) newjail_image=${newjail_image:-"simple"}; shift;;
       -s) newjail_imagesize="$2"; shift 2;;
       -c) newjail_image="crypto"; shift;;
       --) shift; break;;
-- 
cgit v1.2.3