summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modutils/modprobe.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/modutils/modprobe.c b/modutils/modprobe.c
index ca85ee7..2860ae0 100644
--- a/modutils/modprobe.c
+++ b/modutils/modprobe.c
@@ -290,6 +290,8 @@ static int do_modprobe(struct module_entry *m)
options = gather_options_str(options, G.cmdline_mopts);
rc = bb_init_module(fn, options);
DBG("loaded %s '%s', rc:%d", fn, options, rc);
+ if (rc == EEXIST)
+ rc = 0;
free(options);
if (rc) {
bb_error_msg("failed to load module %s (%s): %s",