From 2ef526015c54aca57507bfe55c0bc9307e6b4e21 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 4 Mar 2022 20:18:50 +0100 Subject: [PATCH] tinySAK: turn a missing plugin into a fatal error (exit) --- tinySAK/src/tsk_plugin.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tinySAK/src/tsk_plugin.c b/tinySAK/src/tsk_plugin.c index 25fd8df6..28e53071 100755 --- a/tinySAK/src/tsk_plugin.c +++ b/tinySAK/src/tsk_plugin.c @@ -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; }