diff options
-rwxr-xr-x | ezjail-admin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ezjail-admin b/ezjail-admin index 3719a7f..58104ed 100755 --- a/ezjail-admin +++ b/ezjail-admin | |||
@@ -1172,7 +1172,7 @@ restore) | |||
1172 | # Setup the ezjail_imagedata. | 1172 | # Setup the ezjail_imagedata. |
1173 | [ "${ezjail_imagetype}" ] && ezjail_imagedata="-c ${ezjail_imagetype} -C '${ezjail_attachparams}'" | 1173 | [ "${ezjail_imagetype}" ] && ezjail_imagedata="-c ${ezjail_imagetype} -C '${ezjail_attachparams}'" |
1174 | # Only use the imagesize if we really have one, ZFS imagejails don't necessarily have a size. | 1174 | # Only use the imagesize if we really have one, ZFS imagejails don't necessarily have a size. |
1175 | [ "${ezjail_imagetype}" -a ${ezjail_nameprop_imgagesize} ] && ezjail_imagedata="-c ${ezjail_imagetype} -C '${ezjail_attachparams}' -s ${ezjail_nameprop_imgagesize}" | 1175 | [ "${ezjail_imagetype}" -a "${ezjail_nameprop_imgagesize}" ] && ezjail_imagedata="-c ${ezjail_imagetype} -C '${ezjail_attachparams}' -s ${ezjail_nameprop_imgagesize}" |
1176 | $0 create -a "${ezjail_fromarchive}" -A "${ezjail_config}" ${ezjail_imagedata} -r "${ezjail_rootdir}" "${ezjail_hostname}" "${ezjail_ips}" || exerr "Error: Create failed." | 1176 | $0 create -a "${ezjail_fromarchive}" -A "${ezjail_config}" ${ezjail_imagedata} -r "${ezjail_rootdir}" "${ezjail_hostname}" "${ezjail_ips}" || exerr "Error: Create failed." |
1177 | rm -f "${ezjail_config}" | 1177 | rm -f "${ezjail_config}" |
1178 | 1178 | ||