From 0872ecbfcf2b49641adfe67e5740a2d9cc0072d1 Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Sat, 2 Jul 2022 15:04:29 -0700 Subject: [PATCH] Log something on shutdown --- miniserv.pl | 1 + 1 file changed, 1 insertion(+) 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);