1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-23 17:33:56 +03:00

bug #1677: force websocket proxy kill after 1 second

This commit is contained in:
Javi Fontan 2013-04-09 16:44:29 +02:00
parent 7cc5255ee4
commit 9ec5d8e633

View File

@ -208,6 +208,13 @@ class OpenNebulaVNC
sleep 1
begin
Process.getpgid(pid)
Process.kill('KILL', pid)
rescue
end
if is_running?
message="VNC server is still running"
STDERR.puts message