The branch, master has been updated
via 33b296cee177adc61edc911caec8c24b3efa8441 (commit)
from 7f8f9385deee6eff2b7303147bc6412bbdc122df (commit)
http://gitweb.samba.org/?p=sahlberg/ctdb.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 33b296cee177adc61edc911caec8c24b3efa8441
Author: Ronnie Sahlberg <[email protected]>
Date: Mon Apr 6 13:16:36 2009 +1000
use _exit() and not exit() when we terminate a failed eventscript child
process
-----------------------------------------------------------------------
Summary of changes:
server/eventscript.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/server/eventscript.c b/server/eventscript.c
index 2d0ac40..246426a 100644
--- a/server/eventscript.c
+++ b/server/eventscript.c
@@ -305,7 +305,7 @@ static int ctdb_event_script_v(struct ctdb_context *ctdb,
const char *options)
*/
if (switch_from_server_to_client(ctdb) != 0) {
DEBUG(DEBUG_CRIT, (__location__ "ERROR: failed to switch
eventscript child into client mode. shutting down.\n"));
- exit(1);
+ _exit(1);
}
if (!strcmp(options, "monitor")) {
--
CTDB repository