diff options
author | Kim Alvefur <zash@zash.se> | 2015-02-21 10:34:56 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2015-02-21 10:34:56 +0100 |
commit | 71cee64f08c1c0f36a0c073894192b3ede52dfcb (patch) | |
tree | bca3c04192429bf6272572d8178b1588c3d7477d /util | |
parent | 7c0ead1c91558b669c73affb1e7ef92900c92444 (diff) | |
parent | 1c33e777ecf981e5982804317b543510de318eb3 (diff) | |
download | prosody-71cee64f08c1c0f36a0c073894192b3ede52dfcb.tar.gz prosody-71cee64f08c1c0f36a0c073894192b3ede52dfcb.zip |
Merge 0.9->0.10
Diffstat (limited to 'util')
-rw-r--r-- | util/datamanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/datamanager.lua b/util/datamanager.lua index 4a4d62b3..b82349f1 100644 --- a/util/datamanager.lua +++ b/util/datamanager.lua @@ -163,7 +163,7 @@ local function atomic_store(filename, data) return nil, msg; end -if prosody.platform ~= "posix" then +if prosody and prosody.platform ~= "posix" then -- os.rename does not overwrite existing files on Windows -- TODO We could use Transactional NTFS on Vista and above function atomic_store(filename, data) |