git.samba.org
/
metze
/
ctdb
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1d654a
)
Event script infrastructure: add reload event to check_options().
author
Martin Schwenke
<martin@meltin.net>
Fri, 27 Nov 2009 01:04:02 +0000
(12:04 +1100)
committer
Martin Schwenke
<martin@meltin.net>
Fri, 27 Nov 2009 01:04:02 +0000
(12:04 +1100)
Signed-off-by: Martin Schwenke <martin@meltin.net>
server/eventscript.c
patch
|
blob
|
history
diff --git
a/server/eventscript.c
b/server/eventscript.c
index 2cf87af5c8c1631c1169f63f4979027c3215e442..8f9c6c1698e66f4449ff213c369995478c9123bd 100644
(file)
--- a/
server/eventscript.c
+++ b/
server/eventscript.c
@@
-774,6
+774,7
@@
static bool check_options(enum ctdb_eventscript_call call, const char *options)
case CTDB_EVENT_MONITOR:
case CTDB_EVENT_STATUS:
case CTDB_EVENT_SHUTDOWN:
+ case CTDB_EVENT_RELOAD:
return count_words(options) == 0;
case CTDB_EVENT_TAKE_IP: /* interface, IP address, netmask bits. */