fix: list archive extraction and package creation errors
This commit is contained in:
@ -20,11 +20,16 @@ int main(int argc, char *argv[]) {
|
||||
goto end;
|
||||
}
|
||||
|
||||
if (!lm_pool_info_load(pool, "./examples/tests/pool/INFO")) {
|
||||
if (!lm_pool_info_load(pool, "./examples/tests/INFO")) {
|
||||
printf("failed to load pool info: %s (%d)\n", lm_strerror(), lm_error());
|
||||
goto end;
|
||||
}
|
||||
|
||||
if (!lm_pool_list_load(pool, "./examples/tests/LIST")) {
|
||||
printf("failed to load pool list: %s (%d)\n", lm_strerror(), lm_error());
|
||||
goto end;
|
||||
}
|
||||
|
||||
if (!lm_ctx_pools_serve(&ctx, argv[1], 10)) {
|
||||
printf("failed to serve the pools: %s (%d)\n", lm_strerror(), lm_error());
|
||||
goto end;
|
||||
|
Reference in New Issue
Block a user