Commit 82f3ee6a authored by Antoine Catton's avatar Antoine Catton

Minor: bugfix on lockfile recipe

parent e602a37b
......@@ -53,7 +53,7 @@ class LockFile(object):
inotify_fd = inotifyx.init()
try:
inotifyx.add_watch(inotify_fd, self.filename, inotifyx.IN_DELETE)
inotifyx.get_events()
inotifyx.get_events(inotify_fd)
except IOError: # add_watch failed
pass
finally:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment