diff options
-rwxr-xr-x | ezjail-admin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ezjail-admin b/ezjail-admin index 6638793..27aedb8 100755 --- a/ezjail-admin +++ b/ezjail-admin | |||
@@ -1455,7 +1455,7 @@ restore) | |||
1455 | ezjail_config=`mktemp /tmp/ezjail.prop.XXXXXXXX` | 1455 | ezjail_config=`mktemp /tmp/ezjail.prop.XXXXXXXX` |
1456 | [ $? -ne 0 ] && exerr "Error: Can't create temporary file." | 1456 | [ $? -ne 0 ] && exerr "Error: Can't create temporary file." |
1457 | pax -rzn -s:${ezjail_nameprop}:${ezjail_config}: -f ${ezjail_fromarchive} ${ezjail_nameprop} | 1457 | pax -rzn -s:${ezjail_nameprop}:${ezjail_config}: -f ${ezjail_fromarchive} ${ezjail_nameprop} |
1458 | fetchjailinfo ${ezjail_safename} ${ezjail_config} | 1458 | fetchjailinfo ${ezjail_safename:-${ezjail_nameprop_safename}} ${ezjail_config} |
1459 | 1459 | ||
1460 | # Now all parameters are here, invoke ezjail-admin create | 1460 | # Now all parameters are here, invoke ezjail-admin create |
1461 | [ "${ezjail_rootdir}" -a "${ezjail_ips}" -a "${ezjail_hostname}" ] || exerr "Error: Archive does not contain a valid ezjail properties file.\n Some jails properties are missing." | 1461 | [ "${ezjail_rootdir}" -a "${ezjail_ips}" -a "${ezjail_hostname}" ] || exerr "Error: Archive does not contain a valid ezjail properties file.\n Some jails properties are missing." |