]> andersk Git - moira.git/commitdiff
log a critical error if a child process exits abnormally
authordanw <danw>
Sat, 30 May 1998 18:10:16 +0000 (18:10 +0000)
committerdanw <danw>
Sat, 30 May 1998 18:10:16 +0000 (18:10 +0000)
server/mr_main.c

index 0fd93bc6384612b0cc681ccae85bcf44b5ad0d96..ae3239687f1064b8d95ff18632bb5acee4e25c36 100644 (file)
@@ -344,8 +344,10 @@ void reapchild(int x)
       if (pid == inc_pid)
        inc_running = 0;
       if (!takedown && (WTERMSIG(status) != 0 || WEXITSTATUS(status) != 0))
-       com_err(whoami, 0, "%d: child exits with signal %d status %d",
-               pid, WTERMSIG(status), WEXITSTATUS(status));
+       {
+         critical_error("moirad", "%d: child exits with signal %d status %d",
+                        pid, WTERMSIG(status), WEXITSTATUS(status));
+       }
     }
 }
 
This page took 0.449844 seconds and 5 git commands to generate.