F #4302: SIGKILL to hanged vcenter_monitor processes

This commit is contained in:
Tino Vazquez committed 2020-06-08 17:58:11 +02:00
1 parent e4702a692b
commit 6a034b6f0f
1 file changed
+1 -1
+1 -1
View File
@@ -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