projects
/
platform
/
upstream
/
libsolv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
use sed instead of grep to get rid of the <?xml...> line
[platform/upstream/libsolv.git]
/
tools
/
updateinfoxml2solv.c
diff --git
a/tools/updateinfoxml2solv.c
b/tools/updateinfoxml2solv.c
index
921538f
..
5432150
100644
(file)
--- a/
tools/updateinfoxml2solv.c
+++ b/
tools/updateinfoxml2solv.c
@@
-54,7
+54,11
@@
main(int argc, char **argv)
break;
}
}
- repo_add_updateinfoxml(repo, stdin, flags);
+ if (repo_add_updateinfoxml(repo, stdin, flags))
+ {
+ fprintf(stderr, "updateinfoxml2solv: %s\n", pool_errstr(pool));
+ exit(1);
+ }
tool_write(repo, 0, attrname);
pool_free(pool);
exit(0);