mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
Do not fail lvm_init() if init_logging() generates an errno.
Revert to original behavior of lvm commands if init_logging() generated an errno. Fixes rhbz 592967.
This commit is contained in:
parent
d01888706d
commit
e3a1fc8af3
@ -195,6 +195,7 @@ static void _init_logging(struct cmd_context *cmd)
|
||||
dm_log_with_errno_init(print_log);
|
||||
#endif
|
||||
reset_log_duplicated();
|
||||
reset_lvm_errno(1);
|
||||
}
|
||||
|
||||
static int _process_config(struct cmd_context *cmd)
|
||||
|
Loading…
x
Reference in New Issue
Block a user