Commit 99abceb5 authored by Lubomir Rintel's avatar Lubomir Rintel 🥕 Committed by Thomas Haller

utils: obey modprobe blacklist

If the user blacklisted a module we should not override their choice.
(cherry picked from commit 9bcd634c)
parent f2a5b633
Pipeline #22902 passed with stage
in 109 minutes and 31 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