summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fs/osfs/watch_inotify.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/osfs/watch_inotify.py b/fs/osfs/watch_inotify.py
index e33f3c7..592dc3d 100644
--- a/fs/osfs/watch_inotify.py
+++ b/fs/osfs/watch_inotify.py
@@ -183,7 +183,7 @@ class OSFSWatchMixin(WatchableFSMixin):
if inevt.mask & pyinotify.IN_Q_OVERFLOW:
watcher.handle_event(OVERFLOW(self))
if inevt.mask & pyinotify.IN_UNMOUNT:
- watcher.handle_event(CLOSE(self))
+ watcher.handle_event(CLOSED(self))
def __get_watch_thread(self):
"""Get the shared watch thread, initializing if necessary.