summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xezjail-admin4
1 files changed, 2 insertions, 2 deletions
diff --git a/ezjail-admin b/ezjail-admin
index 775d7fb..d55bd9e 100755
--- a/ezjail-admin
+++ b/ezjail-admin
@@ -391,7 +391,7 @@ create)
391 attach_cmd="geli attach ${ezjail_attachparams} /dev/${ezjail_imagedevice}";; 391 attach_cmd="geli attach ${ezjail_attachparams} /dev/${ezjail_imagedevice}";;
392 esac 392 esac
393 393
394 if [ -z "${ezjail_exists} ]; then 394 if [ -z "${ezjail_exists}" ]; then
395 [ "${ezjail_attachblocking}" ] && echo "Initialising crypto device. You will be asked to enter a new passphrase twice... " 395 [ "${ezjail_attachblocking}" ] && echo "Initialising crypto device. You will be asked to enter a new passphrase twice... "
396 ( echo ${init_cmd} | /bin/sh ) || detach_images || exerr "Error: Could not initialise crypto image." 396 ( echo ${init_cmd} | /bin/sh ) || detach_images || exerr "Error: Could not initialise crypto image."
397 397
@@ -406,7 +406,7 @@ create)
406 ;; 406 ;;
407 esac 407 esac
408 408
409 if [ -z "${ezjail_exists} ]; then 409 if [ -z "${ezjail_exists}" ]; then
410 # Format memory image 410 # Format memory image
411 newfs -U "/dev/${ezjail_device}" || detach_images || exerr "Error: Could not newfs /dev/${ezjail_device}." 411 newfs -U "/dev/${ezjail_device}" || detach_images || exerr "Error: Could not newfs /dev/${ezjail_device}."
412 # Create mount point and mount 412 # Create mount point and mount