mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
debug: switch to verbose
When there is no real error from the function - avoid using log_error().
This commit is contained in:
parent
b6f921e5cb
commit
fd32bb1991
@ -1569,7 +1569,7 @@ int process_each_vg(struct cmd_context *cmd, int argc, char **argv,
|
||||
|
||||
if (dm_list_empty(&arg_vgnames) && dm_list_empty(&vgnameids_on_system)) {
|
||||
/* FIXME Should be log_print, but suppressed for reporting cmds */
|
||||
log_error("No volume groups found");
|
||||
log_verbose("No volume groups found.");
|
||||
return ECMD_PROCESSED;
|
||||
}
|
||||
|
||||
@ -1909,7 +1909,7 @@ int process_each_lv(struct cmd_context *cmd, int argc, char **argv, uint32_t fla
|
||||
|
||||
if (dm_list_empty(&arg_vgnames) && dm_list_empty(&vgnameids_on_system)) {
|
||||
/* FIXME Should be log_print, but suppressed for reporting cmds */
|
||||
log_error("No volume groups found");
|
||||
log_verbose("No volume groups found.");
|
||||
return ECMD_PROCESSED;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user