git.samba.org
/
sahlberg
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
7f8f938
)
use _exit() and not exit() when we terminate a failed eventscript child process
author
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Mon, 6 Apr 2009 03:16:36 +0000
(13:16 +1000)
committer
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Mon, 6 Apr 2009 03:16:36 +0000
(13:16 +1000)
server/eventscript.c
patch
|
blob
|
history
diff --git
a/server/eventscript.c
b/server/eventscript.c
index 2d0ac40861246e51098841424e1cc480c9908387..246426a351881f250b6cda433555098a45befae8 100644
(file)
--- 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")) {