mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
Turn a warning to an error in vgreduce --removemissing, since we exit with a
failure status there.
This commit is contained in:
parent
3b4be8a99d
commit
616c6208aa
@ -60,8 +60,8 @@ static int _consolidate_vg(struct cmd_context *cmd, struct volume_group *vg)
|
||||
|
||||
if (!r) {
|
||||
cmd->handles_missing_pvs = 1;
|
||||
log_warn("WARNING: There are still partial LVs in VG %s.", vg->name);
|
||||
log_warn("To remove them unconditionally use: vgreduce --removemissing --force.");
|
||||
log_error("There are still partial LVs in VG %s.", vg->name);
|
||||
log_error("To remove them unconditionally use: vgreduce --removemissing --force.");
|
||||
log_warn("Proceeding to remove empty missing PVs.");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user