From 616c6208aadfb25390dab19b8c8dfd9e9396188d Mon Sep 17 00:00:00 2001 From: Petr Rockai Date: Wed, 15 Feb 2012 12:30:46 +0000 Subject: [PATCH] Turn a warning to an error in vgreduce --removemissing, since we exit with a failure status there. --- tools/vgreduce.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/vgreduce.c b/tools/vgreduce.c index eb11e6b79..3adafb2ac 100644 --- a/tools/vgreduce.c +++ b/tools/vgreduce.c @@ -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."); } -- 2.43.5