1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-02-15 05:57:23 +03:00

feature #1370: fix alias method in OpenNebulaVNC

This commit is contained in:
Javi Fontan 2013-03-05 11:47:07 +01:00
parent 1052b4b168
commit 55b3d1a9ad

View File

@ -216,7 +216,6 @@ class OpenNebulaVNC
end
end
alias_method :get_pid, :is_running?
def is_running?
if File.exist?(@lock_file)
pid=File.read(@lock_file).strip
@ -231,6 +230,7 @@ class OpenNebulaVNC
false
end
alias_method :get_pid, :is_running?
def start_daemon(cmd, log)
pid=spawn(*cmd.split(" "),