From 4beff89756fa96cfdb2cf65b43c29bcb62334c2f Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Sat, 13 Dec 2008 15:44:50 +0100 Subject: syntax fix --- src/core/libs/lib-blockdevices-filesystems.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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" -- cgit v1.2.3-54-g00ecf