[util-iso-*fs] add a msg which fs image gets umounted

This commit is contained in:
udeved 2015-06-29 00:34:00 +02:00
parent 8808d48e83
commit a4794d6558
2 changed files with 2 additions and 2 deletions

View file

@ -23,7 +23,7 @@ mount_custom_image(){
# $1: image path
umount_image(){
if mountpoint -q "$1";then
msg2 "unmount ${1##*/}"
msg2 "aufs: unmount ${1##*/}"
umount $1
fi
find $1 -name '.wh.*' -delete &> /dev/null

View file

@ -24,7 +24,7 @@ mount_custom_image(){
umount_image(){
if mountpoint -q "$1";then
msg2 "unmount ${1##*/}"
msg2 "overlayfs: unmount ${1##*/}"
umount $1
rm -rf "${work_dir}/work"
fi