diff options
author | Kim Alvefur <zash@zash.se> | 2016-02-25 22:37:41 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-02-25 22:37:41 +0100 |
commit | d17785e91f5a14942de3257207f3f2d058162467 (patch) | |
tree | c296ef2b89bd5fac3f1ee1eae5a627c921b375ce /util/datamanager.lua | |
parent | 9eda046093639bd46aa77d554e7e8aa90a5c1d18 (diff) | |
parent | fc2ad03510cab182ac83ac8aaf6d9ce66acdec87 (diff) | |
download | prosody-d17785e91f5a14942de3257207f3f2d058162467.tar.gz prosody-d17785e91f5a14942de3257207f3f2d058162467.zip |
Merge 0.9->0.10
Diffstat (limited to 'util/datamanager.lua')
-rw-r--r-- | util/datamanager.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/datamanager.lua b/util/datamanager.lua index 83f3dd13..07b2fe4a 100644 --- a/util/datamanager.lua +++ b/util/datamanager.lua @@ -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); |