init.lua

Sun, 28 Feb 2010 03:11:12 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Sun, 28 Feb 2010 03:11:12 +0000
changeset 0
813b739a632b
permissions
-rw-r--r--

Initial commit

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 };

mercurial