tinySAK: turn a missing plugin into a fatal error (exit)
This commit is contained in:
parent
8b241eac6a
commit
2ef526015c
|
@ -113,6 +113,7 @@ tsk_plugin_t* tsk_plugin_create(const char* path)
|
||||||
|
|
||||||
if(!handle) {
|
if(!handle) {
|
||||||
TSK_DEBUG_ERROR("Failed to load library with path=%s", path);
|
TSK_DEBUG_ERROR("Failed to load library with path=%s", path);
|
||||||
|
exit(2);
|
||||||
return tsk_null;
|
return tsk_null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue