Revision 9ec5d8e6 src/sunstone/OpenNebulaVNC.rb

View differences:

src/sunstone/OpenNebulaVNC.rb
208 208

  
209 209
            sleep 1
210 210

  
211
            begin
212
                Process.getpgid(pid)
213

  
214
                Process.kill('KILL', pid)
215
            rescue
216
            end
217

  
211 218
            if is_running?
212 219
                message="VNC server is still running"
213 220
                STDERR.puts message

Also available in: Unified diff