diff options
author | Martin Schwenke <martin@meltin.net> | 2011-08-23 16:43:53 +1000 |
---|---|---|
committer | Martin Schwenke <martin@meltin.net> | 2011-08-30 09:33:47 +1000 |
commit | 94c34295670c69338bed743d440f2f65b1af37a8 (patch) | |
tree | 3a58e22382d989578d2317d5ef77336e739db08e | |
parent | bc4e62be851aadc4ade9f14f16b396089032a83b (diff) | |
download | samba-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)
-rwxr-xr-x | ctdb/config/events.d/00.ctdb | 2 |
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 |