From 86e156875227c08d0b8ba37a66c4cf6e20c2a22c Mon Sep 17 00:00:00 2001 From: Ben Collins Date: Wed, 17 Feb 1999 00:30:36 +0000 Subject: [PATCH] fixed exit()'s to be return()'s --- servers/slapd/back-tcl/tcl_config.c | 38 ++++++++++++++++------------- 1 file changed, 21 insertions(+), 17 deletions(-) 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