+ /*
+ * We have to install a SIGCHLD handler before the afs process is being
+ * forked off. Otherwise, para_server does not notice if afs dies before
+ * the SIGCHLD handler has been installed by init_signal_task() below.
+ */
+ if (signal(SIGCHLD, tmp_sigchld_handler) == SIG_ERR) {
+ PARA_EMERG_LOG("failed to install temporary SIGCHLD handler\n");
+ exit(EXIT_FAILURE);
+ }