summaryrefslogtreecommitdiff
path: root/ezjail.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ezjail.sh')
-rwxr-xr-xezjail.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ezjail.sh b/ezjail.sh
index 23ebfa2..8a2822b 100755
--- a/ezjail.sh
+++ b/ezjail.sh
@@ -119,7 +119,7 @@ attach_detach_pre ()
119 ;; 119 ;;
120 eli) 120 eli)
121 echo "Attaching eli device for image jail ${ezjail}..." 121 echo "Attaching eli device for image jail ${ezjail}..."
122 echo geli attach ${ezjail_attachparams} /dev/${ezjail_device} | /bin/sh 122 echo geli attach ${ezjail_attachparams} /dev/${ezjail_device} | /bin/sh
123 if [ $? -ne 0 ]; then 123 if [ $? -ne 0 ]; then
124 mdconfig -d -u ${ezjail_device} > /dev/null 124 mdconfig -d -u ${ezjail_device} > /dev/null
125 echo "Error: Attaching eli device failed."; return 1 125 echo "Error: Attaching eli device failed."; return 1