1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-13 13:17:39 +03:00

feature #2455: Do not recreate the vnc tokens dir if it already exists(cherry picked from commit d4cb259962)

This commit is contained in:
Daniel Molina 2013-11-14 17:19:51 +01:00
parent dd60e0bd46
commit a960d93936

View File

@ -267,7 +267,6 @@ class OpenNebulaVNC
Dir.glob("#{@token_folder}/*").each do |file|
File.delete(file)
end
Dir.rmdir(@token_folder)
rescue => e
@logger.error "Error deleting token folder"
@logger.error e.message