fs-util: Drop unlink_noerrno()

This commit is contained in:
Daan De Meyer
2023-03-15 13:27:20 +01:00
parent a45332500d
commit 39eb3ffaaa
6 changed files with 12 additions and 36 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ void release_lock_file(LockFile *f) {
f->operation = LOCK_EX|LOCK_NB;
if ((f->operation & ~LOCK_NB) == LOCK_EX)
unlink_noerrno(f->path);
(void) unlink(f->path);
f->path = mfree(f->path);
}