cli: exit with error if a plugin fails to load
[babeltrace.git] / src / cli / babeltrace2-plugins.c
index 28ee50a51b10d30258bc7f53e35f950bc464f39f..0093d4cea4fe03d4293d41a584df4749336ab772 100644 (file)
@@ -161,7 +161,7 @@ int load_dynamic_plugins(const bt_value *plugin_paths)
                }
 
                status = bt_plugin_find_all_from_dir(plugin_path, BT_FALSE,
-                       BT_FALSE, &plugin_set);
+                       BT_TRUE, &plugin_set);
                if (status < 0) {
                        BT_CLI_LOGE_APPEND_CAUSE(
                                "Unable to load dynamic plugins from directory: "
This page took 0.02461 seconds and 4 git commands to generate.