summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xezjail-admin4
1 files changed, 2 insertions, 2 deletions
diff --git a/ezjail-admin b/ezjail-admin
index 52f8e05..267cd5d 100755
--- a/ezjail-admin
+++ b/ezjail-admin
@@ -42,8 +42,8 @@ detach_images () {
42 if [ "${ezjail_imagedevice}" ]; then 42 if [ "${ezjail_imagedevice}" ]; then
43 umount ${ezjail_rootdir} > /dev/null 43 umount ${ezjail_rootdir} > /dev/null
44 case ${ezjail_imagetype} in 44 case ${ezjail_imagetype} in
45 bde) gbde detach /dev/${ezjail_imagedevice} > /dev/null ;; 45 bde) gbde detach /dev/${ezjail_imagedevice} > /dev/null;;
46 eli) ;; 46 eli) geil detach /dev/${ezjail_imagedevice} > /dev/null;;
47 esac 47 esac
48 mdconfig -d -u ${ezjail_imagedevice} > /dev/null 48 mdconfig -d -u ${ezjail_imagedevice} > /dev/null
49 [ "$1" = "success" ] || rm -f ${ezjail_image} 49 [ "$1" = "success" ] || rm -f ${ezjail_image}