aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/luarocks/list.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/luarocks/list.lua b/src/luarocks/list.lua
index 22dbb721..518b83ce 100644
--- a/src/luarocks/list.lua
+++ b/src/luarocks/list.lua
@@ -93,9 +93,9 @@ function list.run(...)
93 93
94 local results = {} 94 local results = {}
95 for _, tree in ipairs(trees) do 95 for _, tree in ipairs(trees) do
96 local ok, err, errcode = search.manifest_search(results, path.rocks_dir(tree), query) 96 local ok, err = search.manifest_search(results, path.rocks_dir(tree), query)
97 if not ok then 97 if not ok then
98 return nil, err 98 util.warning(err)
99 end 99 end
100 end 100 end
101 util.title("Installed rocks:", flags["porcelain"]) 101 util.title("Installed rocks:", flags["porcelain"])