From 8d92f9f2aecaf74973c26302ce7ad8f2a32e257f Mon Sep 17 00:00:00 2001 From: Timo Teräs Date: Sat, 19 Jun 2021 14:27:10 +0300 Subject: mkpkg: ignore special files with warning instead of erroring --- src/app_mkpkg.c | 3 +-- 1 file changed, 1 insertion(+), 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; -- cgit v1.2.3-70-g09d2