apk: don't exit with error code for -V and --print-arch

cute-signatures
Timo Teräs 2016-04-19 08:55:40 +03:00
parent 9039dbe06c
commit f9b4fb469b
1 changed files with 2 additions and 0 deletions

View File

@ -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);