diff options
author | Timo Teras <timo.teras@iki.fi> | 2009-07-22 14:56:27 +0300 |
---|---|---|
committer | Timo Teras <timo.teras@iki.fi> | 2009-07-22 14:56:27 +0300 |
commit | 93f0b3524c1263b99a1a4bf718c27e6ad7b6aea8 (patch) | |
tree | 84261f2a088ff9bf53a6db30669602f159a01b00 /src/index.c | |
parent | 0a7991f70dcfe9f8e05f6a4a4a59af21be878915 (diff) | |
download | apk-tools-93f0b3524c1263b99a1a4bf718c27e6ad7b6aea8.tar.gz apk-tools-93f0b3524c1263b99a1a4bf718c27e6ad7b6aea8.tar.bz2 apk-tools-93f0b3524c1263b99a1a4bf718c27e6ad7b6aea8.tar.xz apk-tools-93f0b3524c1263b99a1a4bf718c27e6ad7b6aea8.zip |
various: more informative error messages
Diffstat (limited to 'src/index.c')
-rw-r--r-- | src/index.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.c b/src/index.c index 608dea8..cd0c0b5 100644 --- a/src/index.c +++ b/src/index.c @@ -155,7 +155,7 @@ static int index_main(void *ctx, int argc, char **argv) if (!found) { struct apk_sign_ctx sctx; apk_sign_ctx_init(&sctx, ictx->method, NULL); - if (apk_pkg_read(&db, argv[i], &sctx) != NULL) + if (apk_pkg_read(&db, argv[i], &sctx, NULL) == 0) newpkgs++; apk_sign_ctx_free(&sctx); } |