summaryrefslogtreecommitdiffstats
path: root/src/vlib/unix/plugin.c
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2018-03-12 17:38:31 -0400
committerFlorin Coras <florin.coras@gmail.com>2018-03-13 01:35:23 +0000
commit3464c860650c5d8cc8abf11c7d2faa074105b8d6 (patch)
tree7ff8767f2e4b213c604ed396036dc0178fc190c0 /src/vlib/unix/plugin.c
parent6e4d4a3684914d071a9b9249217bb6222aeb1d24 (diff)
Rationalize plugin symbol error reporting
Change-Id: I64f2b2007f30fc1c6bd2990ba0d7ccbcd43cdb38 Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/vlib/unix/plugin.c')
-rw-r--r--src/vlib/unix/plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vlib/unix/plugin.c b/src/vlib/unix/plugin.c
index 058afcfcae0..a1df3b24b66 100644
--- a/src/vlib/unix/plugin.c
+++ b/src/vlib/unix/plugin.c
@@ -141,7 +141,7 @@ load_one_plugin (plugin_main_t * pm, plugin_info_t * pi, int from_early_init)
{
clib_warning ("%s", dlerror ());
clib_warning ("Failed to load plugin '%s'", pi->name);
- os_exit (1);
+ goto error;
}
pi->handle = handle;