summaryrefslogtreecommitdiff
path: root/src/core/libs/lib-blockdevices-filesystems.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/libs/lib-blockdevices-filesystems.sh')
-rw-r--r--src/core/libs/lib-blockdevices-filesystems.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/libs/lib-blockdevices-filesystems.sh b/src/core/libs/lib-blockdevices-filesystems.sh
index 3776f9f..e2aa0f5 100644
--- a/src/core/libs/lib-blockdevices-filesystems.sh
+++ b/src/core/libs/lib-blockdevices-filesystems.sh
@@ -463,7 +463,7 @@ process_filesystems ()
elif [ -b $real_part ]
then
infofy "Attempting destruction of device $part (type $part_type)" disks
- pvremove $real_part || show_warning "process_filesystems blockdevice destruction" "Could not pvremove $part")
+ pvremove $real_part || show_warning "process_filesystems blockdevice destruction" "Could not pvremove $part"
else
debug "Skipping destruction of device $part (type $part_type) because it doesn't exist"
fi
@@ -496,7 +496,7 @@ process_filesystems ()
open_items=1
else
infofy "Attempting destruction of device $part (type $part_type)" disks
- [ "$part_type" = lvm-lv ] && ( lvremove -f $part || show_warning "process_filesystems blockdevice destruction" "Could not lvremove -f $part")
+ lvremove -f $part || show_warning "process_filesystems blockdevice destruction" "Could not lvremove -f $part"
fi
else
debug "Skipping destruction of device $part (type $part_type) because it doesn't exist"