[PATCH] modprobe bug
Jean Wolter
jw5 at os.inf.tu-dresden.de
Wed Jun 21 13:56:01 UTC 2006
Hello,
modprobe checks, whether a module is already loaded. The function used
for this currently always returns 0. The attached patch fixes this.
Index: modutils/modprobe.c
===================================================================
--- modutils/modprobe.c (revision 15457)
+++ modutils/modprobe.c (working copy)
@@ -609,7 +609,7 @@
}
done:
close (fd);
- return 0;
+ return ret;
}
regards,
Jean
More information about the busybox
mailing list