ctdb-tools: Move special case of 0 connections into computation
authorMartin Schwenke <martin@meltin.net>
Tue, 4 Jul 2017 04:02:14 +0000 (14:02 +1000)
committerMartin Schwenke <martins@samba.org>
Tue, 19 Sep 2017 11:30:27 +0000 (13:30 +0200)
commit8fb6c1adb03e33159059cb1343a27c588c4cb6d5
tree177331d12b8971d83e8ce50dcc6832358acc4d6c
parentfd54d47875be20477cae45d173ba1eebd748fbbb
ctdb-tools: Move special case of 0 connections into computation

This avoids other potential users from unnecessarily setting up file
descriptors and such.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tools/ctdb_killtcp.c