diff options
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/log.cc | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/kernel/log.cc b/kernel/log.cc index 997c39c64..89a403e63 100644 --- a/kernel/log.cc +++ b/kernel/log.cc @@ -331,7 +331,8 @@ static void logv_error_with_prefix(const char *prefix,  				f = stderr;  	log_last_error = vstringf(format, ap); -	log("%s%s", prefix, log_last_error.c_str()); +	if (check_expected_logs) +		log("%s%s", prefix, log_last_error.c_str());  	log_flush();  	log_make_debug = bak_log_make_debug; | 
