diff options
author | Timo Teräs <timo.teras@iki.fi> | 2016-04-19 08:55:40 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2016-04-19 08:55:58 +0300 |
commit | f9b4fb469b3df10c3cdfb0740225dd430bf90565 (patch) | |
tree | c11dd41aa026429573a0e89bad02e88574c032b7 /src/apk.c | |
parent | 9039dbe06cfe123d04c3306f7316ba91013fc5e6 (diff) | |
download | apk-tools-f9b4fb469b3df10c3cdfb0740225dd430bf90565.tar.gz apk-tools-f9b4fb469b3df10c3cdfb0740225dd430bf90565.tar.bz2 apk-tools-f9b4fb469b3df10c3cdfb0740225dd430bf90565.tar.xz apk-tools-f9b4fb469b3df10c3cdfb0740225dd430bf90565.zip |
apk: don't exit with error code for -V and --print-arch
Diffstat (limited to 'src/apk.c')
-rw-r--r-- | src/apk.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |