diff options
Diffstat (limited to 'src/info.c')
-rw-r--r-- | src/info.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -111,7 +111,7 @@ static int info_main(void *ctx, int argc, char **argv) struct apk_database db; int r; - if (apk_db_open(&db, apk_root) < 0) + if (apk_db_open(&db, apk_root, APK_OPENF_READ) < 0) return -1; if (ictx->action != NULL) |