diff --git a/scripts/check_site_lib.lua b/scripts/check_site_lib.lua index 7078e9fa75642abb73db4312d35bb50f91f56161..c5296f93061a377786be430e329050519d1456e7 100644 --- a/scripts/check_site_lib.lua +++ b/scripts/check_site_lib.lua @@ -16,6 +16,10 @@ local function array_to_string(array) end local function var_error(path, val, msg) + if type(val) == 'string' then + val = string.format('%q', val) + end + print(string.format('*** site.conf error: expected %s to %s, but it is %s', path_to_string(path), msg, tostring(val))) os.exit(1) end