From 1a54de02b585e58511a3db4171ccabb3a3a0cce0 Mon Sep 17 00:00:00 2001 From: Timo Teras Date: Tue, 7 Jul 2009 09:27:56 +0300 Subject: db: open flags revisited more fine grained control what to load, and rename some of the flags to be shorter. --- src/info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/info.c') diff --git a/src/info.c b/src/info.c index 60dd910..4be29dc 100644 --- a/src/info.c +++ b/src/info.c @@ -313,7 +313,7 @@ static int info_main(void *ctx, int argc, char **argv) struct apk_database db; int r; - if (apk_db_open(&db, apk_root, APK_OPENF_READ + APK_OPENF_EMPTY_REPOS) < 0) + if (apk_db_open(&db, apk_root, APK_OPENF_READ | APK_OPENF_NO_REPOS) < 0) return -1; if (ictx->action != NULL) -- cgit v1.2.3-60-g2f50