chore(bin/emqx): print pid info if failed to stop

This commit is contained in:
Zaiming Shi 2021-09-27 10:34:21 +02:00
parent 5280f83651
commit a17b3ad6ae
1 changed files with 2 additions and 0 deletions

View File

@ -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