Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dataroaring committed Sep 5, 2024
1 parent b063f91 commit 550a21c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/fdb/fdb_ctl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ function stop_fdb() {
function clean_fdb() {
if [[ -f "${FDB_HOME}/fdbmonitor.pid" ]]; then
local fdb_pid

fdb_pid=$(cat "${FDB_HOME}/fdbmonitor.pid")
if ps -p "${fdb_pid}" >/dev/null; then
echo "fdbmonitor with pid ${fdb_pid} is running, stop it first."
Expand Down

0 comments on commit 550a21c

Please sign in to comment.