aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-03-01 17:04:48 +0100
committerKim Alvefur <zash@zash.se>2017-03-01 17:04:48 +0100
commitf0c676e8c6e714fcdd898c913af0b705ccde61ee (patch)
tree835c6143d74d81fe535f15996244e46ab2c0b4f2 /util
parent82755e48e832ca94886d0d4376343ac74cf00bd6 (diff)
downloadprosody-f0c676e8c6e714fcdd898c913af0b705ccde61ee.tar.gz
prosody-f0c676e8c6e714fcdd898c913af0b705ccde61ee.zip
util.datamanager: Import value of ENOENT from util.pposix (if available)
Diffstat (limited to 'util')
-rw-r--r--util/datamanager.lua1
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;