From e0df1dfd7cd32106305583cda3a71b7187d08682 Mon Sep 17 00:00:00 2001
From: "Kevin P. Fleming" <kpfleming@digium.com>
Date: Tue, 22 Aug 2006 23:55:16 +0000
Subject: [PATCH] generate a message when a module cannot be found and loadable
 modules are disabled

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 main/loader.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/main/loader.c b/main/loader.c
index a3f76459a8..4d8e527f39 100644
--- a/main/loader.c
+++ b/main/loader.c
@@ -591,6 +591,7 @@ static enum ast_module_load_result load_resource(const char *resource_name, unsi
 			}
 		}
 #else
+		ast_log(LOG_WARNING, "Module '%s' could not be loaded.\n", resource_name);
 		return AST_MODULE_LOAD_DECLINE;
 #endif
 	}
-- 
GitLab