From f9b4fb469b3df10c3cdfb0740225dd430bf90565 Mon Sep 17 00:00:00 2001 From: Timo Teräs Date: Tue, 19 Apr 2016 08:55:40 +0300 Subject: apk: don't exit with error code for -V and --print-arch --- src/apk.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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); -- cgit v1.2.3-70-g09d2