SVN: rc-scripts/trunk/rc.d/rc.sysinit

arekm arekm at pld-linux.org
Wed Sep 2 21:58:55 CEST 2009


Author: arekm
Date: Wed Sep  2 21:58:55 2009
New Revision: 10524

Modified:
   rc-scripts/trunk/rc.d/rc.sysinit
Log:
Set rc to 0 for mdadm rc=2 case.

Modified: rc-scripts/trunk/rc.d/rc.sysinit
==============================================================================
--- rc-scripts/trunk/rc.d/rc.sysinit	(original)
+++ rc-scripts/trunk/rc.d/rc.sysinit	Wed Sep  2 21:58:55 2009
@@ -676,6 +676,8 @@
 				       	/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


More information about the pld-cvs-commit mailing list