new: first database functions
This commit is contained in:
@ -35,6 +35,11 @@ int main(int argc, char *argv[]) {
|
||||
goto end;
|
||||
}
|
||||
|
||||
if (!lm_ctx_package_verify(&ctx, "which", NULL)) {
|
||||
printf("failed to verify package: %s (%d)\n", lm_strerror(), lm_error());
|
||||
goto end;
|
||||
}
|
||||
|
||||
ret = EXIT_SUCCESS;
|
||||
|
||||
end:
|
||||
|
Reference in New Issue
Block a user