:3
This commit is contained in:
@@ -32,9 +32,7 @@ function updater:addEntry(path, branch, url)
|
||||
branch = branch,
|
||||
url = url
|
||||
};
|
||||
if not fs.exists(path) then
|
||||
self:update(path, url);
|
||||
end
|
||||
self:update(path, url);
|
||||
end
|
||||
|
||||
function updater:checkAndUpdateAll()
|
||||
@@ -68,7 +66,7 @@ function updater:check(branch)
|
||||
end
|
||||
|
||||
local body, berr = req.readAll();
|
||||
if not req then
|
||||
if not body then
|
||||
log.error("Updater:check: Could not get body of request: " .. berr);
|
||||
return false;
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user