}
}
block_signal(SIGPIPE);
-
- /* we dont want any SIGCHLD */
- signal(SIGCHLD, SIG_DFL);
if (ctdb->do_setsched) {
/* try to set us up as realtime */
/* start the transport going */
ctdb_start_transport(ctdb);
+ /* we dont want any SIGCHLD */
+ signal(SIGCHLD, SIG_IGN);
+
/* go into a wait loop to allow other nodes to complete */
event_loop_wait(ctdb->ev);
exit(1);
}
+ /* we dont want any SIGCHLD */
+ signal(SIGCHLD, SIG_IGN);
+
monitor_cluster(ctdb);
DEBUG(DEBUG_ALERT,("ERROR: ctdb_recoverd finished!?\n"));