diff options
author | Bill Nottingham <notting@redhat.com> | 2010-02-26 14:36:22 -0500 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2010-02-26 14:36:22 -0500 |
commit | d37a29944a09e2e129c3bae4a5d3ff690ea6eda1 (patch) | |
tree | 953c314be3c9bd4f2b1801e974b9faa6736dc4ce /rc.d/rc.sysinit | |
parent | cd45f75d2729c268bc3f1ebe1691749a3b18b09f (diff) | |
download | initscripts-d37a29944a09e2e129c3bae4a5d3ff690ea6eda1.tar initscripts-d37a29944a09e2e129c3bae4a5d3ff690ea6eda1.tar.gz initscripts-d37a29944a09e2e129c3bae4a5d3ff690ea6eda1.tar.bz2 initscripts-d37a29944a09e2e129c3bae4a5d3ff690ea6eda1.tar.xz initscripts-d37a29944a09e2e129c3bae4a5d3ff690ea6eda1.zip |
The current rawhide dmraid has proper error codes.
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-x | rc.d/rc.sysinit | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 9736e859..803df568 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 |