summaryrefslogtreecommitdiff
path: root/src/modules-load.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules-load.c')
-rw-r--r--src/modules-load.c1
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");