1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-04-18 02:51:49 +03:00

pvdisplay: use log_print_unless_silent for info messages

This commit is contained in:
Zdenek Kabelac 2014-03-19 00:35:27 +01:00
parent 013f5f4550
commit 52525bde04

View File

@ -63,12 +63,12 @@ static int _pvdisplay_single(struct cmd_context *cmd,
}
if (pv_status(pv) & EXPORTED_VG)
log_print("Physical volume \"%s\" of volume group \"%s\" "
"is exported", pv_name, pv_vg_name(pv));
log_print_unless_silent("Physical volume \"%s\" of volume group \"%s\" "
"is exported", pv_name, pv_vg_name(pv));
if (is_orphan(pv))
log_print("\"%s\" is a new physical volume of \"%s\"",
pv_name, display_size(cmd, size));
log_print_unless_silent("\"%s\" is a new physical volume of \"%s\"",
pv_name, display_size(cmd, size));
if (arg_count(cmd, colon_ARG)) {
pvdisplay_colons(pv);