summaryrefslogtreecommitdiff
path: root/src/fetch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fetch.c')
-rw-r--r--src/fetch.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fetch.c b/src/fetch.c
index c6622e5..f9dc9a1 100644
--- a/src/fetch.c
+++ b/src/fetch.c
@@ -319,8 +319,7 @@ static int fetch_main(void *pctx, struct apk_database *db, struct apk_string_arr
ctx->outdir_fd = AT_FDCWD;
if ((args->num == 1) && (strcmp(args->item[0], "coffee") == 0)) {
- if (apk_flags & APK_FORCE)
- return cup();
+ if (apk_force) return cup();
apk_message("Go and fetch your own coffee.");
return 0;
}