recoverd: Update capabilities only if the current node is active
authorAmitay Isaacs <amitay@gmail.com>
Thu, 27 Jun 2013 05:33:49 +0000 (15:33 +1000)
committerAmitay Isaacs <amitay@gmail.com>
Tue, 2 Jul 2013 02:59:09 +0000 (12:59 +1000)
commit93bcb6617e1024f810533e12390a572f51703ca0
treed7b4259e723b9a9c2966235047266026765fc97e
parent815ddd3341b7e9db39e05a3a3fcd9a1420f053bc
recoverd: Update capabilities only if the current node is active

Since we do an early return if a node is stopped or banned, move update
capabilities code below the early return and just before we check the
capabilities of current recovery master.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
server/ctdb_recoverd.c