master - debug: switch to verbose
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=fd32bb1991d8323d655361d19a636e29c6aa62c3 Commit: fd32bb1991d8323d655361d19a636e29c6aa62c3 Parent: b6f921e5cb1877263ef5561d6f96141022ff3c6f Author: Zdenek Kabelac <[email protected]> AuthorDate: Fri Nov 14 16:11:43 2014 +0100 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Fri Nov 14 18:12:44 2014 +0100
debug: switch to verbose
When there is no real error from the function - avoid using log_error().
--- tools/toollib.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
tools/toollib.c +2 -2
@@ -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 flaif (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 ; }