aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrc.d/rc.sysinit2
1 files changed, 2 insertions, 0 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 0ead3c10..0b7d2210 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -290,6 +290,8 @@ if [ -f /proc/mdstat -a -f /etc/raidtab ]; then
if [ $RESULT -gt 0 -a -x /sbin/raid0run ]; then
/sbin/raid0run $i
RESULT=$?
+ else
+ RESULT=1
fi
if [ $RESULT -gt 0 -a -x /sbin/raidadd -a -x /sbin/raidrun ]; then
/sbin/raidadd $i