summaryrefslogtreecommitdiff
path: root/channels/chan_zap.c
diff options
context:
space:
mode:
Diffstat (limited to 'channels/chan_zap.c')
-rw-r--r--channels/chan_zap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index 7c860ff50..ad3798646 100644
--- a/channels/chan_zap.c
+++ b/channels/chan_zap.c
@@ -11145,7 +11145,7 @@ static int load_module(void)
res = setup_zap(0);
/* Make sure we can register our Zap channel type */
if (res)
- return -1;
+ return AST_MODULE_LOAD_DECLINE;
if (ast_channel_register(&zap_tech)) {
ast_log(LOG_ERROR, "Unable to register channel class 'Zap'\n");
__unload_module();