diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-09-21 02:57:02 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-09-21 03:56:55 +0200 |
commit | c72dcc54315a5bb854849e17a34c6ad8a3f9dfaa (patch) | |
tree | f16191f6272342b738909a16b35512491aa087d9 /src/modules-load.c | |
parent | 13230d5d3c89e866f1b9b689d41f0edc90af707a (diff) |
modules-load: filter out double modules
Diffstat (limited to 'src/modules-load.c')
-rw-r--r-- | src/modules-load.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules-load.c b/src/modules-load.c index 4b3b12109c..17b5e0bf80 100644 --- a/src/modules-load.c +++ b/src/modules-load.c @@ -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"); |