[DRBD-cvs] svn commit by phil - r2911 - branches/drbd-8.0/scripts - The init script should not terminate in case the setup

drbd-cvs at lists.linbit.com drbd-cvs at lists.linbit.com
Fri Jun 1 16:16:55 CEST 2007


Author: phil
Date: 2007-06-01 16:16:47 +0200 (Fri, 01 Jun 2007)
New Revision: 2911

Modified:
   branches/drbd-8.0/scripts/drbd
Log:
The init script should not terminate in case the setup of one
resource fails. (credits: Simon).


Modified: branches/drbd-8.0/scripts/drbd
===================================================================
--- branches/drbd-8.0/scripts/drbd	2007-06-01 12:54:07 UTC (rev 2910)
+++ branches/drbd-8.0/scripts/drbd	2007-06-01 14:16:47 UTC (rev 2911)
@@ -61,7 +61,7 @@
 	fi
 	IFS=$IFS_O
 	$CMD || {
-	    echo -e "\ncmd $CMD failed!"; exit 20
+	    echo -e "\ncmd $CMD failed - continuing!\n"
 	}
 	IFS=$NEWLINE
     done



More information about the drbd-cvs mailing list