diff --git a/src/sunstone/OpenNebulaVNC.rb b/src/sunstone/OpenNebulaVNC.rb index 92e59c1da5..15bd2c0061 100644 --- a/src/sunstone/OpenNebulaVNC.rb +++ b/src/sunstone/OpenNebulaVNC.rb @@ -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