LVM2/lib/commands toolcontext.c
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: wysochanski at sourceware.org 2010-06-01 21:46:29
Modified files:
lib/commands : toolcontext.c
Log message:
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.
lib/commands/toolcontext.c +1 -0
@@ -195,6 +195,7 @@dm_log_with_errno_init (print_log);#endif reset_log_duplicated (); +reset_lvm_errno (1 ); }static int _process_config (struct cmd_context *cmd)