minor improvment
This commit is contained in:
parent
7e5e472c65
commit
e0db64fd7b
1 changed files with 2 additions and 1 deletions
3
dmount
3
dmount
|
@ -50,13 +50,14 @@ error_umount() {
|
|||
|
||||
error_deactivate_vg() {
|
||||
echo "Error, impossible de deactive vg." >&2
|
||||
doas dmsetup info --columns
|
||||
echo "Try to force remove vgdisk from memory." >&2
|
||||
if force_remove_vgdevice
|
||||
then
|
||||
echo "could at list remove vgdevice."
|
||||
exit 0
|
||||
else
|
||||
lsblk
|
||||
doas dmsetup info --columns
|
||||
echo "couldn't remove vgdevice. need manual intervention." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue