From e958a4c7808dc8539fc2cf1d8154eb67af533a41 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 5 Jun 2002 16:53:48 +0000 Subject: [PATCH] Fix up abandon merge. Hallvard will holler if I get this wrong. :-) --- servers/slapd/back-shell/abandon.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/servers/slapd/back-shell/abandon.c b/servers/slapd/back-shell/abandon.c index 9761f23376..3f0f6ed28d 100644 --- a/servers/slapd/back-shell/abandon.c +++ b/servers/slapd/back-shell/abandon.c @@ -38,22 +38,14 @@ shell_back_abandon( break; } } + ldap_pvt_thread_mutex_unlock( &conn->c_mutex ); } - ldap_pvt_thread_mutex_unlock( &conn->c_mutex ); if ( pid == -1 ) { Debug( LDAP_DEBUG_ARGS, "shell could not find op %d\n", msgid, 0, 0 ); return 0; } - /* no abandon command defined - just kill the process handling it */ - if ( si->si_abandon == NULL ) { - Debug( LDAP_DEBUG_ARGS, "shell killing pid %d\n", - (int) pid, 0, 0 ); - kill( pid, SIGTERM ); - return 0; - } - if ( forkandexec( si->si_abandon, &rfp, &wfp ) == -1 ) { return 0; } -- 2.39.5