mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
mirror: add missing error message
When a user has not proceeded with conversion, print the error message why the command has failed.
This commit is contained in:
parent
54e0622650
commit
8fb5f63637
@ -1726,8 +1726,10 @@ int remove_mirror_log(struct cmd_context *cmd,
|
||||
"inactive mirror %s to core log. "
|
||||
"Proceed? [y/n]: ", lv->name) == 'y')
|
||||
sync_percent = 0;
|
||||
else
|
||||
else {
|
||||
log_error("Logical volume %s NOT converted.", lv->name);
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (sync_percent == PERCENT_100)
|
||||
init_mirror_in_sync(1);
|
||||
|
Loading…
Reference in New Issue
Block a user