From f0c676e8c6e714fcdd898c913af0b705ccde61ee Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Wed, 1 Mar 2017 17:04:48 +0100 Subject: util.datamanager: Import value of ENOENT from util.pposix (if available) --- util/datamanager.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'util') 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; -- cgit v1.2.3