LVM2/tools pvremove.c
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: agk at sourceware.org 2012-03-02 02:55:45
Modified files:
tools : pvremove.c
Log message:
Reinstate error if e.g. daemon comms fails.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/pvremove.c.diff?cvsroot=lvm2&r1=1.39&r2=1.40
tools/pvremove.c +2 -1
@@ -128,8 +128,9 @@ goto out; } +/* FIXME Avoid error if we expect that daemon might not know device */ if (!lvmetad_pv_gone (dev->dev)) -log_debug ("PV gone" );/* FIXME any better idea */ + goto_out;log_print ("Labels on physical volume \"%s\" successfully wiped" , pv_name);