From: Ben Collins Date: Wed, 17 Feb 1999 00:30:36 +0000 (+0000) Subject: fixed exit()'s to be return()'s X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~578 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=86e156875227c08d0b8ba37a66c4cf6e20c2a22c;p=openldap fixed exit()'s to be return()'s --- diff --git a/servers/slapd/back-tcl/tcl_config.c b/servers/slapd/back-tcl/tcl_config.c index 196b2d639e..9030be75af 100644 --- a/servers/slapd/back-tcl/tcl_config.c +++ b/servers/slapd/back-tcl/tcl_config.c @@ -7,6 +7,10 @@ * as authorized by the OpenLDAP Public License. A copy of this * license is available at http://www.OpenLDAP.org/license.html or * in file LICENSE in the top-level directory of the distribution. + * + * $Id$ + * + * $Log$ */ #include "portable.h" @@ -32,7 +36,7 @@ int tcl_back_db_config ( if (ti == NULL) { fprintf (stderr, "%s: line %d: tcl backend info is null!\n", fname, lineno); - exit (1); + return( 1 ); } if (ti->ti_ii == NULL) { ti->ti_ii = global_i; @@ -44,7 +48,7 @@ int tcl_back_db_config ( Debug (LDAP_DEBUG_ANY, "%s: line %d: missing script in \"scriptpath