forked from mirrored-repos/manjaro-tools
[util-iso-*fs] add a msg which fs image gets umounted
This commit is contained in:
parent
8808d48e83
commit
a4794d6558
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue