From: Lennart Poettering Date: Wed, 21 Sep 2011 00:57:02 +0000 (+0200) Subject: modules-load: filter out double modules X-Git-Tag: v36~42 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c72dcc54315a5bb854849e17a34c6ad8a3f9dfaa;p=systemd modules-load: filter out double modules --- diff --git a/src/modules-load.c b/src/modules-load.c index 4b3b1210..17b5e0bf 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");