aboutsummaryrefslogtreecommitdiffstats
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
commited6045747c843b8c94ceb899a0dff5477d59e891 (patch)
tree835c6143d74d81fe535f15996244e46ab2c0b4f2
parent6c9aa91cf740d59b765ba2836dbfc79bbcbbb412 (diff)
downloadprosody-ed6045747c843b8c94ceb899a0dff5477d59e891.tar.gz
prosody-ed6045747c843b8c94ceb899a0dff5477d59e891.zip
util.datamanager: Import value of ENOENT from util.pposix (if available)
-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;