mirror of
https://github.com/troglobit/finit.git
synced 2026-10-22 11:36:07 +00:00
Handle if building with hook script but no script path
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
d810ac00bc
commit
0e70bdbf6a
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -195,7 +195,7 @@ int plugin_exists(hook_point_t no)
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifdef HAVE_HOOK_SCRIPTS_PLUGIN
|
||||
#if defined(HAVE_HOOK_SCRIPTS_PLUGIN) && defined(PLUGIN_HOOK_SCRIPTS_PATH)
|
||||
#define CHOOSE(x, y) y
|
||||
static const char *hscript_paths[] = HOOK_TYPES;
|
||||
#undef CHOOSE
|
||||
|
||||
Reference in new issue
Block a user