diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/luarocks/list.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/luarocks/list.lua b/src/luarocks/list.lua index 71ebaf5a..22dbb721 100644 --- a/src/luarocks/list.lua +++ b/src/luarocks/list.lua | |||
@@ -93,7 +93,10 @@ 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 | search.manifest_search(results, path.rocks_dir(tree), query) | 96 | local ok, err, errcode = search.manifest_search(results, path.rocks_dir(tree), query) |
97 | if not ok then | ||
98 | return nil, err | ||
99 | end | ||
97 | end | 100 | end |
98 | util.title("Installed rocks:", flags["porcelain"]) | 101 | util.title("Installed rocks:", flags["porcelain"]) |
99 | search.print_results(results, flags["porcelain"]) | 102 | search.print_results(results, flags["porcelain"]) |