Eventscripts - call ctdb_check_args() in 00.ctdb
authorMartin Schwenke <martin@meltin.net>
Tue, 23 Aug 2011 06:43:53 +0000 (16:43 +1000)
committerMartin Schwenke <martin@meltin.net>
Mon, 29 Aug 2011 23:33:47 +0000 (09:33 +1000)
This is the first eventscript.  Sanity check as early as possible and
everyone benefits.

Signed-off-by: Martin Schwenke <martin@meltin.net>
config/events.d/00.ctdb

index 321ba9c708836bb345022471cd6fc3f4cf56fe44..2a48afb8e2063a420531ccf07bbcc874914cb499 100755 (executable)
@@ -35,6 +35,8 @@ update_config_from_tdb() {
     fi
 }
 
+ctdb_check_args "$@"
+
 case "$1" in 
      init)
         # make sure we have a blank state directory for the scripts to work with