summaryrefslogtreecommitdiffstats
path: root/sesman/sig.c
diff options
context:
space:
mode:
Diffstat (limited to 'sesman/sig.c')
-rw-r--r--sesman/sig.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sesman/sig.c b/sesman/sig.c
index 18492568..140a48f9 100644
--- a/sesman/sig.c
+++ b/sesman/sig.c
@@ -49,6 +49,8 @@ sig_sesman_shutdown(int sig)
LOG_DBG(" - getting signal %d pid %d", sig, g_getpid());
g_tcp_close(g_sck);
+
+ g_file_delete(SESMAN_PID_FILE);
}
/******************************************************************************/