Print error message in case of shutting down due to errors loading plugins.

This commit is contained in:
Jan Vidar Krey 2012-05-14 23:35:53 +02:00
parent f3754fb4e4
commit 3ae6da4a64

View File

@ -905,6 +905,7 @@ void hub_set_variables(struct hub_info* hub, struct acl_handle* acl)
if (hub_plugins_load(hub) < 0) if (hub_plugins_load(hub) < 0)
{ {
LOG_FATAL("Unable to load plugins.");
hub->status = hub_status_shutdown; hub->status = hub_status_shutdown;
} }
else else