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:
parent
dd60e0bd46
commit
a960d93936
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user