From: short <> Date: Fri, 14 May 2004 07:08:19 +0000 (+0000) Subject: Fixed forgotten PID file removal during "Stop". X-Git-Tag: udpgate-1_0~63 X-Git-Url: http://git.jankratochvil.net/?p=udpgate.git;a=commitdiff_plain;h=9e7147dae595d91406581921daaf5134cde9c3cc Fixed forgotten PID file removal during "Stop". --- diff --git a/src/network.c b/src/network.c index c42fab9..8ca1ffa 100644 --- a/src/network.c +++ b/src/network.c @@ -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)