tools/modprobe: exit non-zero on module not found with --all

This commit is contained in:
Dave Reisner 2012-01-05 22:56:54 -05:00 committed by Lucas De Marchi
parent 5f85a133f8
commit 7f37491375

View File

@ -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) {