diff options
Diffstat (limited to 'tools/vgchange.c')
-rw-r--r-- | tools/vgchange.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/vgchange.c b/tools/vgchange.c index a25a373c..4f27eea9 100644 --- a/tools/vgchange.c +++ b/tools/vgchange.c @@ -224,8 +224,10 @@ static int _vgchange_available(struct cmd_context *cmd, struct volume_group *vg) ret = _activate_lvs_in_vg(cmd, vg, available); - log_print("%d logical volume(s) in volume group \"%s\" now active", - lvs_in_vg_activated(vg), vg->name); + /* Print message only if there was not found a missing VG */ + if (!vg->cmd_missing_vgs) + log_print("%d logical volume(s) in volume group \"%s\" now active", + lvs_in_vg_activated(vg), vg->name); return ret; } |