projects
/
platform
/
upstream
/
libsolv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 0.6.29
[platform/upstream/libsolv.git]
/
tools
/
diskusagexml2solv.c
diff --git
a/tools/diskusagexml2solv.c
b/tools/diskusagexml2solv.c
index
bfc775f
..
59ac79a
100644
(file)
--- a/
tools/diskusagexml2solv.c
+++ b/
tools/diskusagexml2solv.c
@@
-54,7
+54,11
@@
main(int argc, char **argv)
break;
}
}
break;
}
}
- repo_add_diskusagexml(repo, stdin, flags);
+ if (repo_add_diskusagexml(repo, stdin, flags))
+ {
+ fprintf(stderr, "diskusagexml2solv: %s\n", pool_errstr(pool));
+ exit(1);
+ }
tool_write(repo, 0, attrname);
pool_free(pool);
exit(0);
tool_write(repo, 0, attrname);
pool_free(pool);
exit(0);