]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
Set rc to 0 for mdadm rc=2 case.
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 2 Sep 2009 19:58:55 +0000 (19:58 +0000)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 2 Sep 2009 19:58:55 +0000 (19:58 +0000)
svn-id: @10524

rc.d/rc.sysinit

index 66546c216ade5f1b29d2429dca6d101ceb17c4be..9dcd7c0c5ff86f5efec2fd184d91461d98f56507 100755 (executable)
@@ -676,6 +676,8 @@ if ! is_yes "$VSERVER"; then
                                        /sbin/mdadm --assemble --scan --auto=yes
                                        rc=$?
                                        if [ "$rc" -eq 0 -o "$rc" -eq 2 ]; then
+                                               # rc is used later, too so set sane value
+                                               rc=0
                                                deltext; ok
                                                goraidtab=0
                                                golvm=1
This page took 0.190454 seconds and 4 git commands to generate.