1
0

Various fixes and improvements

This commit is contained in:
Patrick Gaskin
2020-04-22 01:12:59 -04:00
parent 6f759c3a7f
commit c7586e95fc
3 changed files with 25 additions and 16 deletions

View File

@@ -46,7 +46,7 @@ static void *_nmi_failsafe_destroy(void* _fs) {
sleep(fs->delay);
NMI_LOG("failsafe: renaming %s to %s", fs->tmp, fs->orig);
if (!rename(fs->tmp, fs->orig))
if (rename(fs->tmp, fs->orig))
NMI_LOG("error: could not rename lib");
NMI_LOG("failsafe: freeing memory");