1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-19 06:50:07 +03:00

B #1626 vCenter importer lock file stale and clash

This commit is contained in:
jagarrigo 2018-07-20 13:16:57 +02:00 committed by Tino Vázquez
parent 2b7f3c3ce5
commit 965c97949a

View File

@ -89,6 +89,9 @@ class Template
def unlock
if @locking
@locking_file.close
if File.exist?("/tmp/vcenter-importer-lock")
File.delete("/tmp/vcenter-importer-lock")
end
end
end