Always run banner plugin hook

Upcoming external plugin support means that even though there are no
internal plugins that depend on this hook, there might be external
ones.
This commit is contained in:
Tobias Waldekranz committed 2020-10-13 15:23:41 +02:00
1 parent e558d5871b
commit 9c8df123e8
1 file changed
+1 -4
+1 -4
View File
@@ -74,10 +74,7 @@ static int udev = 0; /* Runtime detection of udev */
*/ */
static void banner(void) static void banner(void)
{ {
if (plugin_exists(HOOK_BANNER)) { plugin_run_hooks(HOOK_BANNER);
plugin_run_hooks(HOOK_BANNER);
return;
}
if (log_is_silent()) if (log_is_silent())
return; return;