tinySAK: turn a missing plugin into a fatal error (exit)

This commit is contained in:
Harald Welte 2022-03-04 20:18:50 +01:00
parent 8b241eac6a
commit 2ef526015c
1 changed files with 1 additions and 0 deletions

View File

@ -113,6 +113,7 @@ tsk_plugin_t* tsk_plugin_create(const char* path)
if(!handle) {
TSK_DEBUG_ERROR("Failed to load library with path=%s", path);
exit(2);
return tsk_null;
}