unlinking sock file
authorerickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Fri, 8 Jul 2005 17:36:09 +0000 (17:36 +0000)
committererickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Fri, 8 Jul 2005 17:36:09 +0000 (17:36 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@386 9efc2488-bf62-4759-914b-345cdb29e865

src/jserver/jserver-c_main.c

index 8b34f3d..ff97017 100644 (file)
@@ -85,6 +85,7 @@ void launch_server() {
                        "sock file %s", port, unix_sock_file);
 
        js = jserver_init();
+       unlink(unix_sock_file);
        if(jserver_connect(js, port, unix_sock_file) < 0)
                fatal_handler("Could not connect...");