diff options
author | Kim Alvefur <zash@zash.se> | 2017-03-01 17:04:48 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-03-01 17:04:48 +0100 |
commit | f0c676e8c6e714fcdd898c913af0b705ccde61ee (patch) | |
tree | 835c6143d74d81fe535f15996244e46ab2c0b4f2 /util/datamanager.lua | |
parent | 82755e48e832ca94886d0d4376343ac74cf00bd6 (diff) | |
download | prosody-f0c676e8c6e714fcdd898c913af0b705ccde61ee.tar.gz prosody-f0c676e8c6e714fcdd898c913af0b705ccde61ee.zip |
util.datamanager: Import value of ENOENT from util.pposix (if available)
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 52d0c0bf..8ef3c050 100644 --- a/util/datamanager.lua +++ b/util/datamanager.lua @@ -44,6 +44,7 @@ pcall(function() local pposix = require "util.pposix"; raw_mkdir = pposix.mkdir or raw_mkdir; -- Doesn't trample on umask fallocate = pposix.fallocate or fallocate; + ENOENT = pposix.ENOENT or ENOENT; end); local _ENV = nil; |