From: Howard Chu Date: Sat, 17 Apr 2004 15:28:07 +0000 (+0000) Subject: Assume slapd if argv[0] is unrecognized, don't fail. X-Git-Tag: OPENDLAP_REL_ENG_2_2_MP~489 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c8ca3e2af6ade8a2f40bc1d5a14d3f24a97f3d1b;p=openldap Assume slapd if argv[0] is unrecognized, don't fail. libtool creates lt-slapd for some dynamic builds... --- 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 */