init.lua

1
2
3
4
5
6
7
8
9
local ok, lfs = pcall(require,"lfs");

local backend;

if (ok and lfs.attributes("/proc")) or (package.config:sub(1,1) == "/") then
	backend = require "proc";
end

return backend or { backend = function () return nil; end };