diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2008-02-11 18:26:03 +0100 |
---|---|---|
committer | Tobias Klauser <tklauser@xenon.tklauser.home> | 2008-02-11 18:26:03 +0100 |
commit | e7bbc35c92f98d24088c854eea3f08d94be9c966 (patch) | |
tree | f87640a5586ed65c0020813ad913600548794796 | |
parent | 6737f1ad17b78496e86dde8b97a531d171f79213 (diff) |
inotail.c: Handle IN_IGNORED event
This event is e.g. emitted when we remove a watch on a file.
-rw-r--r-- | inotail.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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: |