Index: pbx/pbx_gtkconsole.c =================================================================== --- pbx/pbx_gtkconsole.c (revision 89277) +++ pbx/pbx_gtkconsole.c (working copy) @@ -237,7 +237,7 @@ } } - return 0; + return AST_MODULE_LOAD_SUCCESS; } static void file_ok_sel(GtkWidget *w, GtkFileSelection *fs) @@ -480,7 +480,7 @@ { if (pipe(clipipe)) { ast_log(LOG_WARNING, "Unable to create CLI pipe\n"); - return -1; + return AST_MODULE_LOAD_FAILURE; } g_thread_init(NULL); if (gtk_init_check(NULL, NULL)) { @@ -496,7 +496,7 @@ else ast_verb(2, "GTK is not available -- skipping monitor\n"); } - return 0; + return AST_MODULE_LOAD_SUCCESS; } static const char *description(void)