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))