diff --git a/resources/install/scripts/resources/functions/cache.lua b/resources/install/scripts/resources/functions/cache.lua index ce8a2f0b0f..4f1fc0e827 100644 --- a/resources/install/scripts/resources/functions/cache.lua +++ b/resources/install/scripts/resources/functions/cache.lua @@ -84,7 +84,6 @@ function Cache.get(key) --freeswitch.consoleLog("notice", "[cache] location: " .. cache.location .. "/" .. key .."\n"); local file, err = io.open(cache.location .. "/" .. key, "rb") result = file:read("*all") - err = ''; else err = 'NOT FOUND'; end