diff options
author | Matthew Wild <mwild1@gmail.com> | 2015-02-24 15:22:34 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2015-02-24 15:22:34 +0000 |
commit | f7786f4031dad5dd2daaf92c7c099448334d892d (patch) | |
tree | bd901b2855478c2157ca69f3a143650499ffe8ea /util/datamanager.lua | |
parent | ab47a2b002478a36645de1ebfbbbad5815aae08b (diff) | |
parent | f9b9268e61a9dd98c9a438ad4ea2c6e6d92128d9 (diff) | |
download | prosody-f7786f4031dad5dd2daaf92c7c099448334d892d.tar.gz prosody-f7786f4031dad5dd2daaf92c7c099448334d892d.zip |
Merge 0.10->trunk
Diffstat (limited to 'util/datamanager.lua')
-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) |