From: levin li <xingke.lwp at taobao.com> In some case, we use pkill -f to kill a sheep node, and the log process isn't killed immediately and becomes a defunt process which take problems for the next start of the same node. Signed-off-by: levin li <xingke.lwp at taobao.com> --- tests/common.rc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tests/common.rc b/tests/common.rc index 64182c6..8ca7dea 100644 --- a/tests/common.rc +++ b/tests/common.rc @@ -166,7 +166,7 @@ _start_sheep() _kill_sheep() { - pkill -f "$SHEEP $STORE/$1" + pkill -9 -f "$SHEEP $STORE/$1" } # make sure this script returns success -- 1.7.1 |