commit 7f3749137527a8e009bd0c928b754b560c51c068
Author: Dave Reisner <d@falconindy.com>
Date:   Thu Jan 5 22:56:54 2012 -0500

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

diff --git a/tools/kmod-modprobe.c b/tools/kmod-modprobe.c
index 8286b9b..6ca94f2 100644
--- a/tools/kmod-modprobe.c
+++ b/tools/kmod-modprobe.c
@@ -856,7 +856,7 @@ static int insmod_alias(struct kmod_ctx *ctx, const char *alias, const char *ext
 
 	if (list == NULL) {
 		LOG("Module %s not found.\n", alias);
-		return err;
+		return -ENOENT;
 	}
 
 	if (use_blacklist) {
