mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-14 04:59:04 +03:00
Reinstate error if e.g. daemon comms fails.
This commit is contained in:
parent
6aff7af424
commit
7e42a312ae
@ -128,8 +128,9 @@ static int pvremove_single(struct cmd_context *cmd, const char *pv_name,
|
||||
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user