diff --git a/app/models/miq_worker.rb b/app/models/miq_worker.rb index d22d6a69025..38f34809701 100644 --- a/app/models/miq_worker.rb +++ b/app/models/miq_worker.rb @@ -434,7 +434,7 @@ def kill _log.info("Killing worker: ID [#{id}], PID [#{pid}], GUID [#{guid}], status [#{status}]") Process.kill(9, pid) loop do - break unless alive? + break unless is_alive? sleep(0.01) end rescue Errno::ESRCH