mkpkg: ignore special files with warning instead of erroring

cute-signatures
Timo Teräs 2021-06-19 14:27:10 +03:00
parent 2eba7f2af7
commit 8d92f9f2ae
1 changed files with 1 additions and 2 deletions

View File

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