From 8053f652cd987b3911f8871bcff2f4146527d27e Mon Sep 17 00:00:00 2001 From: Amitay Isaacs Date: Thu, 8 Mar 2018 14:23:38 +1100 Subject: [PATCH] ctdb-tools: Event script commands cannot be run without daemon Signed-off-by: Amitay Isaacs Reviewed-by: Martin Schwenke --- ctdb/tools/ctdb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ctdb/tools/ctdb.c b/ctdb/tools/ctdb.c index fa8d880335a..57358a5e30a 100644 --- a/ctdb/tools/ctdb.c +++ b/ctdb/tools/ctdb.c @@ -5992,9 +5992,9 @@ static const struct ctdb_cmd { "wipe the contents of a database.", ""}, { "recmaster", control_recmaster, false, true, "show the pnn for the recovery master", NULL }, - { "event", control_event, true, false, + { "event", control_event, false, false, "event and event script commands", NULL }, - { "scriptstatus", control_scriptstatus, true, false, + { "scriptstatus", control_scriptstatus, false, false, "show event script status", "[init|setup|startup|monitor|takeip|releaseip|ipreallocated]" }, { "natgw", control_natgw, false, false, -- 2.34.1