summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2008-12-13 15:44:50 +0100
committerDieter Plaetinck <dieter@plaetinck.be>2008-12-13 15:44:50 +0100
commit4beff89756fa96cfdb2cf65b43c29bcb62334c2f (patch)
treea2e544a8a43e90446d34086b10c2405428b19336 /src
parentd098e15d2d82cd6c70bafa6fcaccbdfb7fce9094 (diff)
syntax fix
Diffstat (limited to 'src')
-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"