From 550a21ca6177d0e2d164b606f775067c8bfe6b8b Mon Sep 17 00:00:00 2001 From: Yongqiang YANG Date: Fri, 6 Sep 2024 01:06:24 +0800 Subject: [PATCH] fix --- tools/fdb/fdb_ctl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/fdb/fdb_ctl.sh b/tools/fdb/fdb_ctl.sh index 67319ea07548705..0bd60373c5f4b2a 100755 --- a/tools/fdb/fdb_ctl.sh +++ b/tools/fdb/fdb_ctl.sh @@ -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."