summaryrefslogtreecommitdiff
path: root/src/apk.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/apk.c')
-rw-r--r--src/apk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/apk.c b/src/apk.c
index 27a9f07..045a094 100644
--- a/src/apk.c
+++ b/src/apk.c
@@ -550,6 +550,7 @@ int main(int argc, char **argv)
memcpy(args->item, argv, argc * sizeof(*argv));
r = applet->main(applet_ctx, &ctx, args);
+ signal(SIGINT, SIG_IGN);
apk_db_close(&db);
#ifdef TEST_MODE