summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2021-06-19 14:27:10 +0300
committerTimo Teräs <timo.teras@iki.fi>2021-06-19 14:27:10 +0300
commit8d92f9f2aecaf74973c26302ce7ad8f2a32e257f (patch)
treedcc223c79afe2f0508c9b4f0292d2542ca504574
parent2eba7f2af73e535f432068ac88b4f6f465745798 (diff)
downloadapk-tools-8d92f9f2aecaf74973c26302ce7ad8f2a32e257f.tar.gz
apk-tools-8d92f9f2aecaf74973c26302ce7ad8f2a32e257f.tar.bz2
apk-tools-8d92f9f2aecaf74973c26302ce7ad8f2a32e257f.tar.xz
apk-tools-8d92f9f2aecaf74973c26302ce7ad8f2a32e257f.zip
mkpkg: ignore special files with warning instead of erroring
-rw-r--r--src/app_mkpkg.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/app_mkpkg.c b/src/app_mkpkg.c
index 3c3972b..633b11d 100644
--- a/src/app_mkpkg.c
+++ b/src/app_mkpkg.c
@@ -148,10 +148,9 @@ static int mkpkg_process_dirent(void *pctx, int dirfd, const char *entry)
break;
default:
apk_pathbuilder_push(&ctx->pb, entry);
- apk_err(out, "special file '%s' not supported",
+ apk_out(out, "%s: special file ignored",
apk_pathbuilder_cstr(&ctx->pb), entry);
apk_pathbuilder_pop(&ctx->pb);
- r = -EINVAL;
break;
}
return r;