-/* $OpenBSD: syslogd.c,v 1.255 2018/07/17 13:51:47 djm Exp $ */
+/* $OpenBSD: syslogd.c,v 1.256 2018/08/31 19:06:08 bluhm Exp $ */
/*
* Copyright (c) 2014-2017 Alexander Bluhm <bluhm@genua.de>
die(int signo)
{
struct filed *f;
- int was_initialized = Initialized;
- Initialized = 0; /* Don't log SIGCHLDs */
SIMPLEQ_FOREACH(f, &Files, f_next) {
/* flush any pending output */
if (f->f_prevcount)
f->f_dropped = 0;
}
}
- Initialized = was_initialized;
dropped_warn(&init_dropped, "during initialization");
dropped_warn(&file_dropped, "to file");
dropped_warn(&tcpbuf_dropped, "to remote loghost");