From 6a034b6f0ff2afca1389a2b4ac14cccbcb04e05f Mon Sep 17 00:00:00 2001 From: Tino Vazquez Date: Mon, 8 Jun 2020 17:58:11 +0200 Subject: [PATCH] F #4302: SIGKILL to hanged vcenter_monitor processes --- src/im_mad/im_exec/one_im_sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/im_mad/im_exec/one_im_sh b/src/im_mad/im_exec/one_im_sh index 736f080449..44042c9a28 100755 --- a/src/im_mad/im_exec/one_im_sh +++ b/src/im_mad/im_exec/one_im_sh @@ -42,7 +42,7 @@ if [ "${BASH_ARGV##* }" = "vcenter" ]; then VMON_PIDS=$(ps axuww | grep "ruby[^ ]* $VMON_PATH" | grep -v grep | awk '{print $2}') if [ -n "$VMON_PIDS" ]; then - kill $VMON_PIDS + kill -9 $VMON_PIDS fi # Create server FIFO