summaryrefslogtreecommitdiff
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 14da0a7..6211c7d 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 )