eventscript: check that ctdb forced script events correct
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 24 Nov 2009 00:54:22 +0000 (11:24 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 24 Nov 2009 00:54:22 +0000 (11:24 +1030)
commit66b22980b14601f29fe8cc64bd8f29883c7ca1c0
treeebf0ba0a7a81f3f68f53bba259b907ce94116dda
parenta6d353519932eee48f9241ad8887b692882906c9
eventscript: check that ctdb forced script events correct

Now we're doing checking, we might as well make sure the commands from
"ctdb eventscripts" are valid.

This gets rid of the "UNKNOWN" event type.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
include/ctdb_private.h
server/eventscript.c