From b0866e9352ea65ce1c32c52d20f9c808a7c24722 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Sun, 17 Jan 2016 15:18:09 +0100 Subject: unlink pid file before exit --- udev/ykfde.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/udev/ykfde.c b/udev/ykfde.c index 9e0d1d3..5d72d81 100644 --- a/udev/ykfde.c +++ b/udev/ykfde.c @@ -346,6 +346,8 @@ out10: /* wipe challenge from memory */ memset(challenge, 0, CHALLENGELEN + 1); + unlink(PID_PATH); + return rc; } -- cgit v1.2.3-70-g09d2