Recursively search the plugin path
[babeltrace.git] / converter / babeltrace.c
index fd025b6c8700f31e3a8d3a80a65cab73f55be814..035c4a250badf04c0fe683671dd16cb35afb3d07 100644 (file)
@@ -223,7 +223,7 @@ int main(int argc, char **argv)
                goto end;
        }
 
-       ret = bt_component_factory_load(component_factory, opt_plugin_path);
+       ret = bt_component_factory_load_recursive(component_factory, opt_plugin_path);
        if (ret) {
                fprintf(stderr, "Failed to load plugins.\n");
                goto end;
@@ -247,7 +247,6 @@ int main(int argc, char **argv)
        }
 
        test_sink_notifications(sink);
-       goto end;
 
        /* teardown and exit */
 end:
This page took 0.023038 seconds and 4 git commands to generate.