mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-24 18:56:59 +07:00
modules-load: filter out double modules
This commit is contained in:
parent
13230d5d3c
commit
c72dcc5431
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user