Fixed forgotten PID file removal during "Stop".
authorshort <>
Fri, 14 May 2004 07:08:19 +0000 (07:08 +0000)
committershort <>
Fri, 14 May 2004 07:08:19 +0000 (07:08 +0000)
src/network.c

index c42fab9..8ca1ffa 100644 (file)
@@ -300,6 +300,8 @@ static void sock_gsource_destroy(void)
                g_source_destroy(sock_gsource);
                sock_gsource=NULL;
                }
+
+       write_daemon_running((pid_t)-1);        /* unlink */
 }
 
 static gboolean sock_gsource_new(void)