summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2016-01-17 15:18:09 +0100
committerGravatar Christian Hesse <mail@eworm.de>2016-01-17 15:18:09 +0100
commitb0866e9352ea65ce1c32c52d20f9c808a7c24722 (patch)
treea5e1077899b2ec2916f9a245c7329d8f8b025618
parent40a0f31f1838d4774ebd960640bfb230dc562ea1 (diff)
downloadmkinitcpio-ykfde-b0866e9352ea65ce1c32c52d20f9c808a7c24722.tar.gz
mkinitcpio-ykfde-b0866e9352ea65ce1c32c52d20f9c808a7c24722.tar.zst
unlink pid file before exit
-rw-r--r--udev/ykfde.c2
1 files changed, 2 insertions, 0 deletions
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;
}