diff options
Diffstat (limited to 'lib/libutil/pidfile.c')
-rw-r--r-- | lib/libutil/pidfile.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/libutil/pidfile.c b/lib/libutil/pidfile.c index ecf0fac..6b99936 100644 --- a/lib/libutil/pidfile.c +++ b/lib/libutil/pidfile.c @@ -231,10 +231,6 @@ _pidfile_remove(struct pidfh *pfh, int freeit) if (unlink(pfh->pf_path) == -1) error = errno; - if (flock(pfh->pf_fd, LOCK_UN) == -1) { - if (error == 0) - error = errno; - } if (close(pfh->pf_fd) == -1) { if (error == 0) error = errno; |