X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=tools%2Frepomdxml2solv.c;h=58b1d00c56895624590181e6e33e9f68281336c1;hb=a12d32d026c06aa6e5c416abfcb667d9cf71d39f;hp=9af5e961effd35ff83cccf262084ee3ffd1ad750;hpb=dded4a474cf14c128379ca092da9b5cd5c192c0e;p=platform%2Fupstream%2Flibsolv.git diff --git a/tools/repomdxml2solv.c b/tools/repomdxml2solv.c index 9af5e96..58b1d00 100644 --- a/tools/repomdxml2solv.c +++ b/tools/repomdxml2solv.c @@ -112,7 +112,11 @@ main(int argc, char **argv) break; } } - repo_add_repomdxml(repo, stdin, flags); + if (repo_add_repomdxml(repo, stdin, flags)) + { + fprintf(stderr, "repomdxml2solv: %s\n", pool_errstr(pool)); + exit(1); + } if (query) doquery(pool, repo, query); else