mkpkg: ignore special files with warning instead of erroring
parent
2eba7f2af7
commit
8d92f9f2ae
|
@ -148,10 +148,9 @@ static int mkpkg_process_dirent(void *pctx, int dirfd, const char *entry)
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
apk_pathbuilder_push(&ctx->pb, entry);
|
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_cstr(&ctx->pb), entry);
|
||||||
apk_pathbuilder_pop(&ctx->pb);
|
apk_pathbuilder_pop(&ctx->pb);
|
||||||
r = -EINVAL;
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return r;
|
return r;
|
||||||
|
|
Loading…
Reference in New Issue