mirror of
https://github.com/samba-team/samba.git
synced 2025-02-28 01:58:17 +03:00
ctdb-scripts: Export CTDB_BASE in functions file
This avoids having to export it in every file that includes the functions file. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
parent
aa5b6f6e9f
commit
850863a15e
@ -6,6 +6,7 @@ if [ -z "$CTDB_BASE" ] ; then
|
||||
echo 'CTDB_BASE unset in CTDB functions file'
|
||||
exit 1
|
||||
fi
|
||||
export CTDB_BASE
|
||||
|
||||
CTDB_VARDIR="/usr/local/var/lib/ctdb"
|
||||
ctdb_rundir="/usr/local/var/run/ctdb"
|
||||
|
Loading…
x
Reference in New Issue
Block a user