The "setup" event can fail when one of the eventscripts fails to run
its "setup" event. If this occurs then the eventscript should log an
error. The stack trace and core file generated when we abort provides
no useful information.
Signed-off-by: Martin Schwenke <martin@meltin.net>
void *private_data)
{
if (status != 0) {
- ctdb_fatal(ctdb, "Failed to run setup event\n");
- return;
+ DEBUG(DEBUG_ALERT,("Failed to run setup event - exiting\n"));
+ exit(1);
}
ctdb_run_notification_script(ctdb, "setup");