diff options
author | Michael Adam <obnox@samba.org> | 2016-06-07 07:44:53 +0000 |
---|---|---|
committer | Martin Schwenke <martins@samba.org> | 2016-06-11 06:20:13 +0200 |
commit | 09d8fe729315759dbc33de56b4aefbb0a57821ad (patch) | |
tree | dc7d68df9a15d302742241434eb97b9c73476d55 /ctdb | |
parent | c904cb0929ace45d8288bb4fd9b3f09398a0fb93 (diff) | |
download | samba-09d8fe729315759dbc33de56b4aefbb0a57821ad.tar.gz |
ctdb: use properly configured ctdb in ctdbd_wrapper
This makes ctdbd_wrapper usable in non-standard installs.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'ctdb')
-rwxr-xr-x | ctdb/config/ctdbd_wrapper | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ctdb/config/ctdbd_wrapper b/ctdb/config/ctdbd_wrapper index b1f71c343b3..b6b983c5d1d 100755 --- a/ctdb/config/ctdbd_wrapper +++ b/ctdb/config/ctdbd_wrapper @@ -256,7 +256,7 @@ start() return 1 fi - if ctdb runstate first_recovery startup running >/dev/null 2>&1 ; then + if $CTDB runstate first_recovery startup running >/dev/null 2>&1 ; then return 0 fi fi @@ -278,7 +278,7 @@ stop() return 0 fi - ctdb shutdown + $CTDB shutdown # Wait for remaining CTDB processes to exit... _timeout=${CTDB_SHUTDOWN_TIMEOUT:-30} |