From cc781a3a641ebc25e82dc3151e0f97b536e180ff Mon Sep 17 00:00:00 2001 From: vapier Date: Wed, 21 Jun 2006 23:03:37 +0000 Subject: Jean Wolter writes: modprobe checks, whether a module is already loaded. The function used for this currently always returns 0. git-svn-id: svn://busybox.net/trunk/busybox@15474 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- modutils/modprobe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) -- cgit v1.2.3-55-g6feb