summaryrefslogtreecommitdiff
path: root/ezjail-admin
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2008-07-09 21:59:28 +0000
committererdgeist <erdgeist@erdgeist.org>2008-07-09 21:59:28 +0000
commit628a6a88d38780b8d4044824ae0a8f599d51b4dc (patch)
tree4a88ef0a9f95841c7e276d75d05819e518fae649 /ezjail-admin
parentd435cc730a0371429f9407d0cd428e4c2c3371e9 (diff)
Embarrassing boolean expression mistake
Diffstat (limited to 'ezjail-admin')
-rwxr-xr-xezjail-admin4
1 files changed, 2 insertions, 2 deletions
diff --git a/ezjail-admin b/ezjail-admin
index fef82cc..1369e3b 100755
--- a/ezjail-admin
+++ b/ezjail-admin
@@ -987,8 +987,8 @@ restore)
987 987
988 # Catch all errors that will likely create a broken backup 988 # Catch all errors that will likely create a broken backup
989 [ "${ezjail_safename}" -a "${ezjail_safename}" != "${ezjail_nameprop_safename}" ] && exerr "Error: Archive name ${ezjail_fromarchive} does not match archived jail ${ezjail_nameprop_safename}." 989 [ "${ezjail_safename}" -a "${ezjail_safename}" != "${ezjail_nameprop_safename}" ] && exerr "Error: Archive name ${ezjail_fromarchive} does not match archived jail ${ezjail_nameprop_safename}."
990 [ "${ezjail_hsname}" != "${ezjail_nameprop_hsname}" && -z "${ezjail_forcerestore}" ] && exerr "Error: Archive was created on host named ${ezjail_hsname}. Consider using \"ezjail-admin create -a\" when migrating ezjails or -f to force restore." 990 [ "${ezjail_hsname}" != "${ezjail_nameprop_hsname}" -a -z "${ezjail_forcerestore}" ] && exerr "Error: Archive was created on host named ${ezjail_hsname}. Consider using \"ezjail-admin create -a\" when migrating ezjails or -f to force restore."
991 [ "${ezjail_hscpu}" != "${ezjail_nameprop_hscpu}" && -z "${ezjail_forcerestore}" ] && exerr "Error: Archive was created on a different CPU. Can not restore. Consider using \"ezjail-admin create -a\" when migrating ezjails or -f to force restore." 991 [ "${ezjail_hscpu}" != "${ezjail_nameprop_hscpu}" -a -z "${ezjail_forcerestore}" ] && exerr "Error: Archive was created on a different CPU. Can not restore. Consider using \"ezjail-admin create -a\" when migrating ezjails or -f to force restore."
992 992
993 # Save config to tempfile and source it 993 # Save config to tempfile and source it
994 ezjail_config=`mktemp /tmp/ezjail.prop.XXXXXXXX` 994 ezjail_config=`mktemp /tmp/ezjail.prop.XXXXXXXX`