summaryrefslogtreecommitdiffstats
path: root/ctdb/config/events.d/00.ctdb
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2011-08-23 16:43:53 +1000
committerMartin Schwenke <martin@meltin.net>2011-08-30 09:33:47 +1000
commit94c34295670c69338bed743d440f2f65b1af37a8 (patch)
tree3a58e22382d989578d2317d5ef77336e739db08e /ctdb/config/events.d/00.ctdb
parentbc4e62be851aadc4ade9f14f16b396089032a83b (diff)
downloadsamba-94c34295670c69338bed743d440f2f65b1af37a8.tar.gz
samba-94c34295670c69338bed743d440f2f65b1af37a8.tar.xz
samba-94c34295670c69338bed743d440f2f65b1af37a8.zip
Eventscripts - call ctdb_check_args() in 00.ctdb
This is the first eventscript. Sanity check as early as possible and everyone benefits. Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 0564717fcc1e21688ae5dacbd437fd493bcb8853)
Diffstat (limited to 'ctdb/config/events.d/00.ctdb')
-rwxr-xr-xctdb/config/events.d/00.ctdb2
1 files changed, 2 insertions, 0 deletions
diff --git a/ctdb/config/events.d/00.ctdb b/ctdb/config/events.d/00.ctdb
index 321ba9c708..2a48afb8e2 100755
--- a/ctdb/config/events.d/00.ctdb
+++ b/ctdb/config/events.d/00.ctdb
@@ -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