]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
ctdb-tools: Drop a couple of unnecessary exports of CTDB_SOCKET
authorMartin Schwenke <martin@meltin.net>
Wed, 21 Feb 2018 03:36:52 +0000 (14:36 +1100)
committerAmitay Isaacs <amitay@samba.org>
Mon, 19 Mar 2018 01:23:18 +0000 (02:23 +0100)
These were necessary because CTDB_SOCKET was not already exported via
test setup.

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

index 62ca7bc5783788d0db54c471d08cade3b5d7cb83..267f3fcb20abc9d27ff5b28d25dce04ff1bf0e1c 100755 (executable)
@@ -10,8 +10,6 @@ loadconfig "ctdb"
 # Default LVS nodes file location
 [ -n "$CTDB_LVS_NODES" ] || CTDB_LVS_NODES="${CTDB_BASE}/lvs_nodes"
 
-[ -n "$CTDB_SOCKET" ] && export CTDB_SOCKET
-
 if [ -z "$CTDB" ] ; then
        CTDB=ctdb
 fi
index 448d00519eb1c204dcd8bc26178147a8edca8e18..2497f83a6e47fc18cc17e10c4278671502119f74 100755 (executable)
@@ -10,8 +10,6 @@ loadconfig "ctdb"
 # Default NAT gateway nodes file location
 [ -n "$CTDB_NATGW_NODES" ] || CTDB_NATGW_NODES="${CTDB_BASE}/natgw_nodes"
 
-[ -n "$CTDB_SOCKET" ] && export CTDB_SOCKET
-
 if [ -z "$CTDB" ] ; then
        CTDB=ctdb
 fi