diff options
Diffstat (limited to 'ezjail-admin')
-rwxr-xr-x | ezjail-admin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ezjail-admin b/ezjail-admin index d0a79ec..2062ebd 100755 --- a/ezjail-admin +++ b/ezjail-admin | |||
@@ -80,7 +80,7 @@ attach_images () { | |||
80 | detach_images () { | 80 | detach_images () { |
81 | # unmount and detach memory disc | 81 | # unmount and detach memory disc |
82 | if [ -n "${ezjail_imagedevice}" ]; then | 82 | if [ -n "${ezjail_imagedevice}" ]; then |
83 | umount ${ezjail_rootdir} > /dev/null | 83 | umount ${ezjail_rootdir} > /dev/null 2> /dev/null |
84 | case ${ezjail_imagetype} in | 84 | case ${ezjail_imagetype} in |
85 | bde) gbde detach /dev/${ezjail_imagedevice} > /dev/null;; | 85 | bde) gbde detach /dev/${ezjail_imagedevice} > /dev/null;; |
86 | eli) geli detach /dev/${ezjail_imagedevice} > /dev/null;; | 86 | eli) geli detach /dev/${ezjail_imagedevice} > /dev/null;; |