master - pvcreate: fix error from pv_write
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=045d086a570d327b00a4a06d139b387d059ade60 Commit: 045d086a570d327b00a4a06d139b387d059ade60 Parent: 23a4801dbcc4d351db6c251685e08f3fec30cbdd Author: David Teigland <[email protected]> AuthorDate: Thu Feb 25 16:38:59 2016 -0600 Committer: David Teigland <[email protected]> CommitterDate: Thu Feb 25 16:40:24 2016 -0600
pvcreate: fix error from pv_write
After a pv_write() failure, the PV wasn't being skipped.
--- tools/toollib.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
tools/toollib.c +1 -0
@@ -4452,6 +4452,7 @@ do_command:if (!pv_write (cmd, pv,0 )) {log_error ("Failed to write physical volume \"%s\"" , pv_name);dm_list_move (&pp->arg_fail, &pd->list); +continue ; }log_print_unless_silent ("Physical volume \"%s\" successfully created" , pv_name);