minor improvment

This commit is contained in:
primardj 2024-01-23 17:40:38 +00:00
parent 7e5e472c65
commit e0db64fd7b

3
dmount
View file

@ -50,13 +50,14 @@ error_umount() {
error_deactivate_vg() { error_deactivate_vg() {
echo "Error, impossible de deactive vg." >&2 echo "Error, impossible de deactive vg." >&2
doas dmsetup info --columns
echo "Try to force remove vgdisk from memory." >&2 echo "Try to force remove vgdisk from memory." >&2
if force_remove_vgdevice if force_remove_vgdevice
then then
echo "could at list remove vgdevice." echo "could at list remove vgdevice."
exit 0 exit 0
else else
lsblk
doas dmsetup info --columns
echo "couldn't remove vgdevice. need manual intervention." >&2 echo "couldn't remove vgdevice. need manual intervention." >&2
exit 1 exit 1
fi fi