mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
modules-load: filter out double modules
This commit is contained in:
@@ -131,6 +131,7 @@ finish:
|
||||
|
||||
if (n_arguments > 3) {
|
||||
arguments[n_arguments] = NULL;
|
||||
strv_uniq(arguments);
|
||||
execv("/sbin/modprobe", arguments);
|
||||
|
||||
log_error("Failed to execute /sbin/modprobe: %m");
|
||||
|
||||
Reference in New Issue
Block a user