mirror of
git://sourceware.org/git/lvm2.git
synced 2025-04-01 18:50:41 +03:00
Also honour abort_on_internal_errors when log_fn is set.
This commit is contained in:
parent
1acb442f60
commit
94466645ee
@ -231,7 +231,8 @@ void print_log(int level, const char *file, int line, int dm_errno,
|
||||
|
||||
if (_lvm2_log_fn) {
|
||||
_lvm2_log_fn(level, file, line, 0, message);
|
||||
|
||||
if (fatal_internal_error)
|
||||
abort();
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user