ctdb-tools: Move handling of CTDB_SOCKET to process_command()
authorMartin Schwenke <martin@meltin.net>
Wed, 21 Feb 2018 10:31:01 +0000 (21:31 +1100)
committerAmitay Isaacs <amitay@samba.org>
Mon, 19 Mar 2018 01:23:18 +0000 (02:23 +0100)
commit0045a7cfeeb51e4283bf63bdc6a100e34b95e2a9
tree24c7939a1fb06f55cc6128819c58973c06999018
parent4961711621fd359e8b2135238b2da63243bae0a3
ctdb-tools: Move handling of CTDB_SOCKET to process_command()

options.socket will go away in future.  This moves processing of
CTDB_SOCKET close to where it is used.

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