diff --git a/miniserv.pl b/miniserv.pl index c13aa5bb6..9b774b8e2 100755 --- a/miniserv.pl +++ b/miniserv.pl @@ -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);