From 67ee75ccd81ad67bdb5eac0b2ae7fca847d59f80 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 9 Dec 2003 19:26:14 +0000 Subject: [PATCH] ITS#2868 check result from slap_startup --- servers/slapd/tools/slapcommon.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/servers/slapd/tools/slapcommon.c b/servers/slapd/tools/slapcommon.c index ddf2124f9c..73fabc76bb 100644 --- a/servers/slapd/tools/slapcommon.c +++ b/servers/slapd/tools/slapcommon.c @@ -412,7 +412,10 @@ slap_tool_init( mal_leaktrace(1); #endif - slap_startup( be ); + if ( slap_startup( be ) ) { + fprintf( stderr, "slap_startup failed\n" ); + exit( EXIT_FAILURE ); + } } void slap_tool_destroy( void ) -- 2.39.5