From b7167768634cf2e26bb4c55f78eec09ae352a0f7 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Sat, 7 Jan 2017 06:53:21 +0100 Subject: [PATCH] tests/pidfile: Cleanup test files from /tmp Signed-off-by: Joachim Nilsson --- tests/pidfile.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/pidfile.c b/tests/pidfile.c index 3bb1dab..56f7105 100644 --- a/tests/pidfile.c +++ b/tests/pidfile.c @@ -18,6 +18,7 @@ static void sigterm_handler(int UNUSED(signo)) { if (verbose) printf("Exiting ...\n"); + remove(PIDFILE); } static void sigalrm_handler(int UNUSED(signo))