ctdbd: Default for event_script_dir should use CTDB_BASE
authorMartin Schwenke <martin@meltin.net>
Tue, 15 Oct 2013 03:10:58 +0000 (14:10 +1100)
committerMartin Schwenke <martin@meltin.net>
Tue, 22 Oct 2013 04:37:54 +0000 (15:37 +1100)
commit21b4d1aba00902f1eee0cbf4f082b0794fd5b738
tree3a7d57c6f5578c12eeee5adfea75c974d3c93f54
parent20e705e63bd3b20837cc3ac92fdcf2a9650ccfc8
ctdbd: Default for event_script_dir should use CTDB_BASE

Also get rid of ctdb_set_event_script_dir().  It creates an
unnecessary copy of something that will be around for the lifetime of
the process.

Signed-off-by: Martin Schwenke <martin@meltin.net>
include/ctdb_private.h
server/ctdb_takeover.c
server/ctdbd.c