changeset 6578 | bdaadf70a48f |
parent 5441 | 6a5c622cc6d4 |
child 6647 | 6cb6855f60df |
--- a/util/datamanager.lua Fri Feb 20 15:51:05 2015 +0000 +++ b/util/datamanager.lua Fri Feb 20 19:00:01 2015 +0100 @@ -163,7 +163,7 @@ 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)