From c8ca3e2af6ade8a2f40bc1d5a14d3f24a97f3d1b Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sat, 17 Apr 2004 15:28:07 +0000 Subject: [PATCH] Assume slapd if argv[0] is unrecognized, don't fail. libtool creates lt-slapd for some dynamic builds... --- servers/slapd/main.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/servers/slapd/main.c b/servers/slapd/main.c index dd0a1f691d..91887448df 100644 --- a/servers/slapd/main.c +++ b/servers/slapd/main.c @@ -218,8 +218,6 @@ int main( int argc, char **argv ) MAIN_RETURN(rc); } } - - goto unrecognized_server_name; } #ifdef HAVE_NT_SERVICE_MANAGER @@ -417,7 +415,6 @@ int main( int argc, char **argv ) /* issue error */ serverName = optarg; serverNamePrefix = "slap"; -unrecognized_server_name:; fprintf( stderr, "program name \"%s%s\" unrecognized; " "aborting...\n", serverNamePrefix, serverName ); /* FALLTHRU */ -- 2.39.5