Commit 9bcd634c authored by Lubomir Rintel's avatar Lubomir Rintel 🥕

utils: obey modprobe blacklist

If the user blacklisted a module we should not override their choice.
parent 3f75d6a9
Pipeline #22832 passed with stages
in 106 minutes and 26 seconds
......@@ -443,6 +443,7 @@ nm_utils_modprobe (GError **error, gboolean suppress_error_logging, const char *
/* construct the argument list */
argv = g_ptr_array_sized_new (4);
g_ptr_array_add (argv, "/sbin/modprobe");
g_ptr_array_add (argv, "--use-blacklist");
g_ptr_array_add (argv, (char *) arg1);
va_start (ap, arg1);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment