summaryrefslogtreecommitdiffstats
path: root/asterisk-model.lua
diff options
context:
space:
mode:
Diffstat (limited to 'asterisk-model.lua')
-rw-r--r--asterisk-model.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/asterisk-model.lua b/asterisk-model.lua
index 6858e6f..6f37fe7 100644
--- a/asterisk-model.lua
+++ b/asterisk-model.lua
@@ -52,7 +52,7 @@ end
mymodule.list_files = function()
local retval = {}
for file in fs.find(null, baseurl) do
- local details = fs.stat(file)
+ local details = posix.stat(file)
if details.type == "regular" then
details.filename = file
table.insert(retval, details)