modprobe: accept -b even if blacklist functionality is disabled
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
c0657e0d0a
commit
428bd2d433
2 changed files with 9 additions and 8 deletions
|
@ -805,7 +805,7 @@ int modprobe_main(int argc UNUSED_PARAM, char **argv)
|
|||
opt_complementary = "-1";
|
||||
/* only -q (quiet) and -r (rmmod),
|
||||
* the rest are accepted and ignored (compat) */
|
||||
getopt32(argv, "qrfsvw");
|
||||
getopt32(argv, "qrfsvwb");
|
||||
argv += optind;
|
||||
|
||||
/* are we rmmod? -> simulate modprobe -r */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue