mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 05:37:39 +03:00
Merge 0.9->0.10
This commit is contained in:
commit
d17785e91f
1 changed files with 1 additions and 0 deletions
|
@ -152,6 +152,7 @@ local function atomic_store(filename, data)
|
|||
if not ok then break end
|
||||
|
||||
ok, msg = f:close();
|
||||
f = nil; -- no longer valid
|
||||
if not ok then break end
|
||||
|
||||
return os_rename(scratch, filename);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue