summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/apk.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/apk.c b/src/apk.c
index 25c5260..1dab55d 100644
--- a/src/apk.c
+++ b/src/apk.c
@@ -580,6 +580,8 @@ int main(int argc, char **argv)
err_and_usage:
if (r == -EINVAL)
r = usage(applet);
+ if (r == -ESHUTDOWN)
+ r = 0;
err:
if (ctx)
free(ctx);