Jean Wolter writes: modprobe checks, whether a module is already loaded. The function...
authorMike Frysinger <vapier@gentoo.org>
Wed, 21 Jun 2006 23:03:37 +0000 (23:03 -0000)
committerMike Frysinger <vapier@gentoo.org>
Wed, 21 Jun 2006 23:03:37 +0000 (23:03 -0000)
modutils/modprobe.c

index 14da0a729891bef97a134d5df1a670e6e79a16a2..6211c7d81eb6b5c3f7c66a8a9389abf4831bce14 100644 (file)
@@ -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 )