diff options
author | Timo Teräs <timo.teras@iki.fi> | 2020-10-09 16:14:38 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2020-10-09 16:18:23 +0300 |
commit | da8d83338b7daa2bbd2e940f94d6515d69568800 (patch) | |
tree | 29c2883801b485ab7d001967c10d75676a84cbaa /src/app_version.c | |
parent | 705e002bb0ab1a317df73e4efac08ebd25dd4d8c (diff) | |
download | apk-tools-da8d83338b7daa2bbd2e940f94d6515d69568800.tar.gz apk-tools-da8d83338b7daa2bbd2e940f94d6515d69568800.tar.bz2 apk-tools-da8d83338b7daa2bbd2e940f94d6515d69568800.tar.xz apk-tools-da8d83338b7daa2bbd2e940f94d6515d69568800.zip |
add missing apk_trust.h
Diffstat (limited to 'src/app_version.c')
-rw-r--r-- | src/app_version.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app_version.c b/src/app_version.c index 4dfbf35..a42ab63 100644 --- a/src/app_version.c +++ b/src/app_version.c @@ -86,7 +86,7 @@ static int option_parse_applet(void *ctx, struct apk_ctx *ac, int opt, const cha break; case OPT_VERSION_check: ictx->action = ver_validate; - ac->open_flags = 0; + ac->open_flags |= APK_OPENF_NO_STATE | APK_OPENF_NO_REPOS; break; case OPT_VERSION_indexes: ictx->action = ver_indexes; @@ -96,7 +96,7 @@ static int option_parse_applet(void *ctx, struct apk_ctx *ac, int opt, const cha break; case OPT_VERSION_test: ictx->action = ver_test; - ac->open_flags = 0; + ac->open_flags |= APK_OPENF_NO_STATE | APK_OPENF_NO_REPOS; break; default: return -ENOTSUP; |