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:
parent
2b7f3c3ce5
commit
965c97949a
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user