mirror of
git://sourceware.org/git/lvm2.git
synced 2025-04-01 18:50:41 +03:00
Use log_error instead of log_verbose when executed command fails
This commit is contained in:
parent
13e3c25ade
commit
4eeff46bf2
@ -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.
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user