aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2010-02-26 14:36:22 -0500
committerBill Nottingham <notting@redhat.com>2010-02-26 14:36:58 -0500
commit7abbacb0bbdc500eb4ec64ce712b34c13908a50d (patch)
tree35e72b907b9d877bcdc82df01341ca7bb5cf726a /rc.d
parent96d395f8aa81bce663fed2a67abc172500ee59a2 (diff)
downloadinitscripts-7abbacb0bbdc500eb4ec64ce712b34c13908a50d.tar
initscripts-7abbacb0bbdc500eb4ec64ce712b34c13908a50d.tar.gz
initscripts-7abbacb0bbdc500eb4ec64ce712b34c13908a50d.tar.bz2
initscripts-7abbacb0bbdc500eb4ec64ce712b34c13908a50d.tar.xz
initscripts-7abbacb0bbdc500eb4ec64ce712b34c13908a50d.zip
The current rawhide dmraid has proper error codes.
Diffstat (limited to 'rc.d')
-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 dacf3169..bb7a15cc 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -360,7 +360,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 [ "$?" = "0" -a "$dmraidsets" != "no raid disks" -a "$dmraidsets" != "no block devices found" ]; then
+ if [ "$?" = "0" ]; then
for dmname in $dmraidsets; do
if [[ "$dmname" =~ '^isw_.*' ]] && \
! strstr "$cmdline" noiswmd; then