[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[lvm-devel] LVM2/scripts lvm2_lvmetad_init_red_hat.in



CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	prajnoha sourceware org	2012-02-24 13:11:57

Modified files:
	scripts        : lvm2_lvmetad_init_red_hat.in 

Log message:
	The daemon as well as the first scan must be both executed properly, otherwise it's an error!

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/scripts/lvm2_lvmetad_init_red_hat.in.diff?cvsroot=lvm2&r1=1.1&r2=1.2

--- LVM2/scripts/lvm2_lvmetad_init_red_hat.in	2012/02/24 13:03:51	1.1
+++ LVM2/scripts/lvm2_lvmetad_init_red_hat.in	2012/02/24 13:11:57	1.2
@@ -54,7 +54,7 @@
 start()
 {
 	ret=0
-	action "Starting LVM metadata daemon:" $DAEMON || ${lvm_vgscan} || ret=$?
+	action "Starting LVM metadata daemon:" $DAEMON && ${lvm_vgscan} || ret=$?
 	return $ret
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]