ctdb-tools: Event script commands cannot be run without daemon
authorAmitay Isaacs <amitay@gmail.com>
Thu, 8 Mar 2018 03:23:38 +0000 (14:23 +1100)
committerMartin Schwenke <martins@samba.org>
Fri, 9 Mar 2018 06:08:23 +0000 (07:08 +0100)
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
ctdb/tools/ctdb.c

index fa8d880335ab1659d0513524ad87dedd953588fc..57358a5e30aae1f6029a4c9ea7ba64d84faa4366 100644 (file)
@@ -5992,9 +5992,9 @@ static const struct ctdb_cmd {
                "wipe the contents of a database.", "<dbname|dbid>"},
        { "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,