mirror of
https://github.com/AuxXxilium/kmod.git
synced 2025-03-11 17:31:01 +07:00
tools/modprobe: exit non-zero on module not found with --all
This commit is contained in:
parent
5f85a133f8
commit
7f37491375
@ -856,7 +856,7 @@ static int insmod_alias(struct kmod_ctx *ctx, const char *alias, const char *ext
|
|||||||
|
|
||||||
if (list == NULL) {
|
if (list == NULL) {
|
||||||
LOG("Module %s not found.\n", alias);
|
LOG("Module %s not found.\n", alias);
|
||||||
return err;
|
return -ENOENT;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (use_blacklist) {
|
if (use_blacklist) {
|
||||||
|
Loading…
Reference in New Issue
Block a user