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
2020-10-13 15:23:41 +02:00
parent e558d5871b
commit 9c8df123e8
+1 -4
View File
@@ -74,10 +74,7 @@ static int udev = 0; /* Runtime detection of udev */
*/
static void banner(void)
{
if (plugin_exists(HOOK_BANNER)) {
plugin_run_hooks(HOOK_BANNER);
return;
}
plugin_run_hooks(HOOK_BANNER);
if (log_is_silent())
return;