summaryrefslogtreecommitdiff
path: root/ezjail-admin
diff options
context:
space:
mode:
authorcryx <cryx@h3q.com>2010-01-15 12:59:44 +0000
committercryx <cryx@h3q.com>2010-01-15 12:59:44 +0000
commit8ecd24f223cd43a723720ef11bd79c4d00c4b666 (patch)
tree124598fc43986bd3d29f2d841468128abc158df1 /ezjail-admin
parent02b7620839a428c58924153f8f9fab3cb80b486a (diff)
Teach ezjail-admin not to attach a zfs backed imagejail when doing archive, reported by Nathan Tice.
Diffstat (limited to 'ezjail-admin')
-rwxr-xr-xezjail-admin2
1 files changed, 1 insertions, 1 deletions
diff --git a/ezjail-admin b/ezjail-admin
index 5438a56..585823a 100755
--- a/ezjail-admin
+++ b/ezjail-admin
@@ -1025,7 +1025,7 @@ archive)
1025 fi 1025 fi
1026 1026
1027 # Attach non-attached jails, if they can be attached non blocking 1027 # Attach non-attached jails, if they can be attached non blocking
1028 if [ "${ezjail_imagetype}" -a -z "${ezjail_attached}" ]; then 1028 if [ "${ezjail_imagetype}" -a "${ezjail_imagetype}" != "zfs" -a -z "${ezjail_attached}" ]; then
1029 if [ "${ezjail_attachblocking}" ]; then 1029 if [ "${ezjail_attachblocking}" ]; then
1030 echo "Warning: Jail ${ezjail_name} is an image jail and can not be attached automatically." 1030 echo "Warning: Jail ${ezjail_name} is an image jail and can not be attached automatically."
1031 echo " Use '${ezjail_admin} config -i attach ${ezjail_name}' to attach it first." 1031 echo " Use '${ezjail_admin} config -i attach ${ezjail_name}' to attach it first."