Log something on shutdown

This commit is contained in:
Jamie Cameron
2022-07-02 15:04:29 -07:00
parent 5f97294c50
commit 0872ecbfcf

View File

@@ -3421,6 +3421,7 @@ return $mode;
sub term_handler
{
&log_error("Shutting down");
kill('TERM', @childpids) if (@childpids);
kill('KILL', $logclearer) if ($logclearer);
kill('KILL', $extauth) if ($extauth);