]> git.ipfire.org Git - thirdparty/samba.git/commit
ctdb-tools: Stop "ctdb nodestatus" from always showing all nodes
authorMartin Schwenke <martin@meltin.net>
Wed, 24 May 2017 10:24:54 +0000 (20:24 +1000)
committerKarolin Seeger <kseeger@samba.org>
Thu, 1 Jun 2017 06:49:15 +0000 (08:49 +0200)
commit36f2b52ea78898650af5811801da5988a6786285
tree0f207f5521b0e6de9d66edc3f1560fd7410f4d4c
parentc8b18ab76c6240cc6e992ab51dff379afbd4769f
ctdb-tools: Stop "ctdb nodestatus" from always showing all nodes

Exit code should only reflect current or specified nodes too.

Drop an unwanted call to get_nodemap() that overwrites the previously
calculated node map.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12802

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit a600d467e2842ab05e429c5a67be5b222ddd1c12)
ctdb/tools/ctdb.c