summaryrefslogtreecommitdiff
path: root/src/app_add.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/app_add.c')
-rw-r--r--src/app_add.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app_add.c b/src/app_add.c
index f4acd22..4f2a9a6 100644
--- a/src/app_add.c
+++ b/src/app_add.c
@@ -63,7 +63,7 @@ static const struct apk_option_group optgroup_applet = {
static int non_repository_check(struct apk_database *db)
{
- if (apk_force & APK_FORCE_NON_REPOSITORY)
+ if (db->force & APK_FORCE_NON_REPOSITORY)
return 0;
if (apk_db_cache_active(db))
return 0;