Add a couple of architectures.
[platform/upstream/libsolv.git] / tools / deltainfoxml2solv.c
index 1528df2..41616ba 100644 (file)
@@ -54,7 +54,11 @@ main(int argc, char **argv)
          break;
        }
     }
-  repo_add_deltainfoxml(repo, stdin, flags);
+  if (repo_add_deltainfoxml(repo, stdin, flags))
+    {
+      fprintf(stderr, "deltainfoxml2solv: %s\n", pool_errstr(pool));
+      exit(1);
+    }
   tool_write(repo, 0, attrname);
   pool_free(pool);
   exit(0);