]> andersk Git - moira.git/blobdiff - server/mr_main.c
fixed name section
[moira.git] / server / mr_main.c
index 09c09b38bdf009593d645f5d87530d55d169e4fb..aaf1093c22be5ed0e53a8c9e01a3a1f662b2563c 100644 (file)
@@ -4,7 +4,8 @@
  *     $Header$
  *
  *     Copyright (C) 1987 by the Massachusetts Institute of Technology
- *
+ *     For copying and distribution information, please see the file
+ *     <mit-copyright.h>.
  *
  *     SMS server process.
  *
@@ -17,6 +18,7 @@
 
 static char *rcsid_sms_main_c = "$Header$";
 
+#include <mit-copyright.h>
 #include <strings.h>
 #include <sys/errno.h>
 #include <sys/signal.h>
@@ -127,6 +129,7 @@ main(argc, argv)
         */
        
        if ((((int)signal (SIGTERM, sigshut)) < 0) ||
+           (((int)signal (SIGCHLD, reapchild)) < 0) ||
            (((int)signal (SIGHUP, sigshut)) < 0)) {
                com_err(whoami, errno, " Unable to establish signal handler.");
                exit(1);
This page took 0.030432 seconds and 4 git commands to generate.