Called the kill command before killing cluster

This commit is contained in:
Alvin Moore 2020-09-01 11:12:57 -04:00
parent 6dddac5af2
commit d40bdff7e8
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ function stopCluster {
elif ! kill -0 "${FDBSERVERID}"; then
log "Failed to locate FDB Server process (${FDBSERVERID})"
let status="${status} + 1"
elif "${BINDIR}/fdbcli" -C "${FDBCONF}" --exec "kill ${CLUSTERSTRING}" --timeout 120 &>> "${LOGDIR}/fdbcli-kill.log"
elif "${BINDIR}/fdbcli" -C "${FDBCONF}" --exec "kill; kill ${CLUSTERSTRING}" --timeout 120 &>> "${LOGDIR}/fdbcli-kill.log"
then
log "Killed cluster (${FDBSERVERID}) via cli"