summaryrefslogtreecommitdiff
path: root/inotail.c
diff options
context:
space:
mode:
Diffstat (limited to 'inotail.c')
-rw-r--r--inotail.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/inotail.c b/inotail.c
index aa11a8c..24c1404 100644
--- a/inotail.c
+++ b/inotail.c
@@ -381,6 +381,8 @@ static int handle_inotify_event(struct inotify_event *inev, struct file_struct *
return 0;
} else if (inev->mask & IN_UNMOUNT) {
fprintf(stderr, "Device containing file '%s' unmounted.\n", f->name);
+ } else if (inev->mask & IN_IGNORED) {
+ return 0;
}
ignore: