diff options
author | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2009-10-27 13:51:45 +1100 |
---|---|---|
committer | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2009-10-27 13:51:45 +1100 |
commit | 1d7681709b6743e994bceee30148493e09597766 (patch) | |
tree | c3bd63c1f9c8baa4c84454dbc4161860b2cd0fd1 /ctdb/server/eventscript.c | |
parent | 4d40b86805452c0b769ebdaaa14c05ad13c24852 (diff) | |
download | samba-1d7681709b6743e994bceee30148493e09597766.tar.gz samba-1d7681709b6743e994bceee30148493e09597766.tar.xz samba-1d7681709b6743e994bceee30148493e09597766.zip |
dont run the monitor event so frequently after a event has failed.
use _exit() instead of exit() when terminating an eventscript.
(This used to be ctdb commit cc30ee2f4f33cb75b2be980c2d4dff6c7c23852f)
Diffstat (limited to 'ctdb/server/eventscript.c')
-rw-r--r-- | ctdb/server/eventscript.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/server/eventscript.c b/ctdb/server/eventscript.c index 3b8661558c..b4f5e2a10a 100644 --- a/ctdb/server/eventscript.c +++ b/ctdb/server/eventscript.c @@ -53,7 +53,7 @@ static void sigterm(int sig) /* all the child processes will be running in the same process group */ kill(-getpgrp(), SIGKILL); - exit(1); + _exit(1); } struct ctdb_event_script_state { |