diff options
author | Christian Hesse <mail@eworm.de> | 2014-12-23 18:25:17 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2014-12-23 18:25:17 +0100 |
commit | 11bd572adf4a861e4c42123c2dadbacd3349af93 (patch) | |
tree | 995a932a7c13b463ec46c1b096012bc999561fd1 /bin/ykfde.c | |
parent | c96ab47092b799c274a4021b19b7f9cb3ddbb98d (diff) | |
download | mkinitcpio-ykfde-11bd572adf4a861e4c42123c2dadbacd3349af93.tar.gz mkinitcpio-ykfde-11bd572adf4a861e4c42123c2dadbacd3349af93.tar.zst |
support updating the challenge on boot
Diffstat (limited to 'bin/ykfde.c')
-rw-r--r-- | bin/ykfde.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/ykfde.c b/bin/ykfde.c index 43735d5..77bb86b 100644 --- a/bin/ykfde.c +++ b/bin/ykfde.c @@ -241,9 +241,8 @@ out60: close(challengefile); if (challengefiletmp) close(challengefiletmp); - if (access(challengefiletmpname, F_OK ) == 0 ) { + if (access(challengefiletmpname, F_OK) == 0 ) unlink(challengefiletmpname); - } out50: /* free crypt context */ |