diff --git a/extra/batsys.lua b/extra/batsys.lua index 7dc8c76..7238e23 100644 --- a/extra/batsys.lua +++ b/extra/batsys.lua @@ -5,7 +5,7 @@ --------------------------------------------------- -- {{{ Grab environment -local lfs = require("lfs") +local lfs_available, lfs = pcall(require, "lfs") local unpack = unpack local setmetatable = setmetatable