log when config is found
This commit is contained in:
parent
6e9f673d91
commit
08f17f812b
1 changed files with 1 additions and 0 deletions
|
@ -7,6 +7,7 @@ local function findConfigFile()
|
|||
local possible_config_path = config_directory .. "/" .. "conf.lua"
|
||||
local fd, res = io.open(possible_config_path, "rb")
|
||||
if fd then
|
||||
log('config found at ' .. possible_config_path)
|
||||
local data = fd:read("*a")
|
||||
fd:close()
|
||||
return data
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue