aboutsummaryrefslogtreecommitdiff
path: root/modutils
diff options
context:
space:
mode:
Diffstat (limited to 'modutils')
-rw-r--r--modutils/modprobe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modutils/modprobe.c b/modutils/modprobe.c
index 14da0a729..6211c7d81 100644
--- a/modutils/modprobe.c
+++ b/modutils/modprobe.c
@@ -609,7 +609,7 @@ static int already_loaded (const char *name)
}
done:
close (fd);
- return 0;
+ return ret;
}
static int mod_process ( struct mod_list_t *list, int do_insert )