aboutsummaryrefslogtreecommitdiff
path: root/src/lpm.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/lpm.lua')
-rw-r--r--src/lpm.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lpm.lua b/src/lpm.lua
index e122fe9..824b286 100644
--- a/src/lpm.lua
+++ b/src/lpm.lua
@@ -1144,7 +1144,7 @@ function Repository:generate_manifest(repo_id)
end
function Repository:fetch_if_not_present()
- if system.stat(self.local_path) then return end
+ if system.stat(self.local_path) then return self end
return self:fetch()
end