comparison: init.lua
init.lua
- changeset 0
- 813b739a632b
equal
deleted
inserted
replaced
|
1 local ok, lfs = pcall(require,"lfs"); |
|
2 |
|
3 local backend; |
|
4 |
|
5 if (ok and lfs.attributes("/proc")) or (package.config:sub(1,1) == "/") then |
|
6 backend = require "proc"; |
|
7 end |
|
8 |
|
9 return backend or { backend = function () return nil; end }; |