]> SAFE projects GIT repository - jmp/mailleur/commitdiff
Adjusting modrec.c adding a trace about signal received
authorJean-Marc Pigeon (Delson) <jmp@safe.ca>
Mon, 23 Jun 2025 16:33:12 +0000 (12:33 -0400)
committerJean-Marc Pigeon (Delson) <jmp@safe.ca>
Mon, 23 Jun 2025 16:33:12 +0000 (12:33 -0400)
lib/modrec.c

index a599c0afb89320ec9406c0c202357830ad35f73c..2c676ce4bb7b089e6a5cf930ac373f07e0795f2c 100644 (file)
@@ -354,6 +354,7 @@ while (proceed==true) {
       break;
     case 1      :       //Detecting signal
       if ((hangup==true)||(reload==true)) {
+        (void) rou_alert(0,"%s got hangup or reload signal",OPEP);
         (void) prc_killchilds(childs,nbrbind,10);
         phase=999;      //No need to have sub process;
         }