aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2009-11-25 14:46:08 -0500
committerBill Nottingham <notting@redhat.com>2009-11-25 14:46:08 -0500
commit4775714a975be6d799c12ccd17e3c1a4b89bafbc (patch)
tree7365560ebeac37bf8680e5dc457691c48eb75b4d
parent751df4e901aec320bf219592123d962f2a862b5d (diff)
downloadinitscripts-4775714a975be6d799c12ccd17e3c1a4b89bafbc.tar
initscripts-4775714a975be6d799c12ccd17e3c1a4b89bafbc.tar.gz
initscripts-4775714a975be6d799c12ccd17e3c1a4b89bafbc.tar.bz2
initscripts-4775714a975be6d799c12ccd17e3c1a4b89bafbc.tar.xz
initscripts-4775714a975be6d799c12ccd17e3c1a4b89bafbc.zip
Handle yet another random return string from dmraid.
-rwxr-xr-xrc.d/rc.sysinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 093e5664..1b6f1428 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -363,7 +363,7 @@ fi
if ! strstr "$cmdline" nodmraid && [ -x /sbin/dmraid ]; then
modprobe dm-mirror >/dev/null 2>&1
dmraidsets=$(LC_ALL=C /sbin/dmraid -s -c -i)
- if [ "$dmraidsets" != "no raid disks" ]; then
+ if [ "$dmraidsets" != "no raid disks" -a "$dmraidsets" != "no block devices found" ]; then
for dmname in $dmraidsets; do
if [[ "$dmname" =~ '^isw_.*' ]] && \
! strstr "$cmdline" noiswmd; then