[lvm-devel] LVM2/scripts cmirrord_init_red_hat.in

jbrassow at sourceware.org jbrassow at sourceware.org
Tue Jan 4 21:16:58 UTC 2011


CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	jbrassow at sourceware.org	2011-01-04 21:16:56

Modified files:
	scripts        : cmirrord_init_red_hat.in 

Log message:
	Fix bug 632681: cmirrord shouldn't fail 'start' if already started
	
	Return 0 from the cmirrord init script if the daemon is already
	running.
	
	http://refspecs.freestandards.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/iniscrptact.html

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/scripts/cmirrord_init_red_hat.in.diff?cvsroot=lvm2&r1=1.4&r2=1.5

--- LVM2/scripts/cmirrord_init_red_hat.in	2010/01/22 16:19:38	1.4
+++ LVM2/scripts/cmirrord_init_red_hat.in	2011/01/04 21:16:54	1.5
@@ -21,6 +21,7 @@
 
 start()
 {
+	rtrn=0
 	if ! pidof $DAEMON > /dev/null 
 	then 
 		echo -n "Starting $DAEMON: "




More information about the lvm-devel mailing list