Skip to content

Commit

Permalink
cli: Don't fail what-provides if components were found
Browse files Browse the repository at this point in the history
  • Loading branch information
ximion committed Nov 22, 2023
1 parent ca8bcdf commit f4a030b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/ascli-actions-mdata.c
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ ascli_what_provides (const gchar *cachepath,
}

result = as_pool_get_components_by_provided_item (pool, kind, item);
if (as_component_box_len (result)) {
if (as_component_box_len (result) == 0) {
/* TRANSLATORS: Search for provided items (e.g. mimetypes, modaliases, ..) yielded no results */
ascli_print_stdout (
_("Could not find component providing '%s::%s'."), kind_str, item);
Expand Down

0 comments on commit f4a030b

Please sign in to comment.