From 9985da76dfabf44281f8438cbdb9c8b7ea770f01 Mon Sep 17 00:00:00 2001 From: erickson Date: Fri, 8 Jul 2005 17:36:09 +0000 Subject: [PATCH] unlinking sock file git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@386 9efc2488-bf62-4759-914b-345cdb29e865 --- src/jserver/jserver-c_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/jserver/jserver-c_main.c b/src/jserver/jserver-c_main.c index 8b34f3d..ff97017 100644 --- a/src/jserver/jserver-c_main.c +++ b/src/jserver/jserver-c_main.c @@ -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..."); -- 2.11.0