From a17b3ad6ae138bfdc76129996164235b27e410cf Mon Sep 17 00:00:00 2001 From: Zaiming Shi Date: Mon, 27 Sep 2021 10:34:21 +0200 Subject: [PATCH] chore(bin/emqx): print pid info if failed to stop --- bin/emqx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/emqx b/bin/emqx index 6c77afd1b..2fadce026 100755 --- a/bin/emqx +++ b/bin/emqx @@ -308,6 +308,8 @@ is_down() { ps -p "$parent" return 0 fi + echo "ERROR: $PID is still around" + ps -p "$PID" return 1 fi # it's gone