1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

ctdb-tests: Drop setting of CTDB_SOCKET and CTDB_PIDFILE

The local daemons ssh stub doesn't need to do this because the ctdbd
and the ctdb tool now only need CTDB_TEST_MODE and CTDB_BASE for local
daemon tests.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
Martin Schwenke 2018-05-10 17:36:04 +10:00 committed by Amitay Isaacs
parent d75fa2c3fd
commit 82e589e388

View File

@ -41,9 +41,6 @@ if [ -z "$CTDB_BASE" ] ; then
exit 1
fi
export CTDB_SOCKET="${CTDB_BASE}/run/ctdbd.socket"
export CTDB_PIDFILE="${CTDB_BASE}/run/ctdbd.pid"
if $close_stdin ; then
exec sh -c "$command" <&-
else