From 93d7e3aa542f1f5f3ba7582acd3591b12855b68c Mon Sep 17 00:00:00 2001 From: cryx Date: Fri, 15 Jan 2010 15:15:27 +0000 Subject: Forgot the "". --- ezjail-admin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ezjail-admin b/ezjail-admin index 3719a7f..58104ed 100755 --- a/ezjail-admin +++ b/ezjail-admin @@ -1172,7 +1172,7 @@ restore) # Setup the ezjail_imagedata. [ "${ezjail_imagetype}" ] && ezjail_imagedata="-c ${ezjail_imagetype} -C '${ezjail_attachparams}'" # Only use the imagesize if we really have one, ZFS imagejails don't necessarily have a size. - [ "${ezjail_imagetype}" -a ${ezjail_nameprop_imgagesize} ] && ezjail_imagedata="-c ${ezjail_imagetype} -C '${ezjail_attachparams}' -s ${ezjail_nameprop_imgagesize}" + [ "${ezjail_imagetype}" -a "${ezjail_nameprop_imgagesize}" ] && ezjail_imagedata="-c ${ezjail_imagetype} -C '${ezjail_attachparams}' -s ${ezjail_nameprop_imgagesize}" $0 create -a "${ezjail_fromarchive}" -A "${ezjail_config}" ${ezjail_imagedata} -r "${ezjail_rootdir}" "${ezjail_hostname}" "${ezjail_ips}" || exerr "Error: Create failed." rm -f "${ezjail_config}" -- cgit v1.2.3