-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
def remove_pidfile File.unlink(self.pidpath) if self.pidfile_exists? end
No such file or directory @ unlink_internal - /tmp/a.pid
Looks like this is a race, and the pidfile disappears right after the exists has been runt.
I think either the check and delete should be flocked or the delete should not fail if the file is not there.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels