diff options
Diffstat (limited to 'main/features.c')
-rw-r--r-- | main/features.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/main/features.c b/main/features.c index 516c64a4a..35039e0fa 100644 --- a/main/features.c +++ b/main/features.c @@ -1164,17 +1164,10 @@ int ast_features_init(void) int res; res = ast_features_config_init(); - if (res) { - return res; - } res |= ast_register_application2(app_bridge, bridge_exec, NULL, NULL, NULL); res |= ast_manager_register_xml_core("Bridge", EVENT_FLAG_CALL, action_bridge); - if (res) { - features_shutdown(); - } else { - ast_register_cleanup(features_shutdown); - } + ast_register_cleanup(features_shutdown); return res; } |