summaryrefslogtreecommitdiff
path: root/src/database.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/database.c')
-rw-r--r--src/database.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/database.c b/src/database.c
index 6138c5c..42de1b6 100644
--- a/src/database.c
+++ b/src/database.c
@@ -1582,8 +1582,9 @@ static int apk_db_unpack_pkg(struct apk_database *db,
tar->close(tar);
if (r != 0) {
- apk_error("%s-%s: package integrity check failed",
- newpkg->name->name, newpkg->version);
+ apk_error("%s-%s: %s",
+ newpkg->name->name, newpkg->version,
+ apk_error_str(r));
goto err;
}
r = apk_db_run_pending_script(&ctx);