]> sourceware.org Git - lvm2.git/commitdiff
Use log_error instead of log_verbose when executed command fails
authorZdenek Kabelac <zkabelac@redhat.com>
Mon, 19 Sep 2011 14:54:23 +0000 (14:54 +0000)
committerZdenek Kabelac <zkabelac@redhat.com>
Mon, 19 Sep 2011 14:54:23 +0000 (14:54 +0000)
WHATS_NEW
lib/misc/lvm-exec.c

index 8d20f569ac8acfbe4e8b7426301b04a28ca4b765..4e02bdc065b3381a58c5a4a7d794b8522ff5ab89 100644 (file)
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -1,5 +1,6 @@
 Version 2.02.89 - 
 ==================================
+  Use log_error instead of log_verbose when executed command fails.
   Add support for non /dev device paths into fsadm script.
   Support different PATH setting for fsadm script testing.
   Surround all executed commands with quotes in fsadm script.
index 56a9815337b24c3abb514dcafe0a5bd00a864b56..c565ddd1dfc2c8a85d74636978d201149c8be6fd 100644 (file)
@@ -96,7 +96,7 @@ int exec_cmd(struct cmd_context *cmd, const char *const argv[],
        if (WEXITSTATUS(status)) {
                if (rstatus) {
                        *rstatus = WEXITSTATUS(status);
-                       log_verbose("%s failed: %u", argv[0], *rstatus);
+                       log_error("%s failed: %u", argv[0], *rstatus);
                } else
                        log_error("%s failed: %u", argv[0], WEXITSTATUS(status));
                return 0;
This page took 0.040683 seconds and 5 git commands to generate.