mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 12:16:00 +00:00
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
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user