about summary refs log tree commit diff
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-rw-r--r--functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions b/functions
index daed329..ec961fc 100644
--- a/functions
+++ b/functions
@@ -47,7 +47,7 @@ deactivate_crypt() {
     if [ -x /sbin/dmsetup -o -x /bin/dmsetup ]; then
         msg "Deactivating Crypt Volumes"
         for v in $(dmsetup ls --target crypt --exec "dmsetup info -c --noheadings -o open,name"); do
-            [ ${v%%:*} = "0" ] && cryptsetup close ${v##*:}
+            [ ${v%%:*} = "0" ] && cryptsetup close ${v##*:} && msg "[crypt] successfully closed: ${v##*:}"
         done
         deactivate_vgs "Crypt"
     fi