ctdb-tools: All ctdb event commands to run without ctdbd
authorMartin Schwenke <martin@meltin.net>
Sat, 7 Jul 2018 23:05:11 +0000 (09:05 +1000)
committerAmitay Isaacs <amitay@samba.org>
Wed, 11 Jul 2018 09:48:38 +0000 (11:48 +0200)
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tools/ctdb.c

index 30b54e352fdb38490c82805a9548bb9f2a9cab8c..9d5d7b810560b7b59f7fe62d679da7ff700aaff0 100644 (file)
@@ -5953,9 +5953,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, false, false,
+       { "event", control_event, true, false,
                "event and event script commands", NULL },
-       { "scriptstatus", control_scriptstatus, false, false,
+       { "scriptstatus", control_scriptstatus, true, false,
                "show event script status",
                "[init|setup|startup|monitor|takeip|releaseip|ipreallocated]" },
        { "natgw", control_natgw, false, false,