From e995e713f984e166a03bb1d8dff4039761f04aca Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Mon, 11 Jan 2010 20:30:32 +0000 Subject: [PATCH] Internal errors triggering abort cannot be suppressed. (kabi) --- lib/log/log.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/log/log.c b/lib/log/log.c index c901da04b..a69d8bbbd 100644 --- a/lib/log/log.c +++ b/lib/log/log.c @@ -187,8 +187,8 @@ void print_log(int level, const char *file, int line, int dm_errno, !strncmp(format, INTERNAL_ERROR, strlen(INTERNAL_ERROR))) internal_error = 1; - - if (_log_suppress == 2) + else if (_log_suppress == 2) + /* Internal errors triggering abort cannot be suppressed. */ return; if (level <= _LOG_ERR)