Sun, 28 Feb 2010 03:11:12 +0000
Initial commit
0 | 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 }; |