diff --git a/man7/inotify.7 b/man7/inotify.7 index 7e5a5b4df..85c05a9bc 100644 --- a/man7/inotify.7 +++ b/man7/inotify.7 @@ -358,7 +358,12 @@ watch list. .BR IN_ONLYDIR " (since Linux 2.6.15)" Watch .I pathname -only if it is a directory. +only if it is a directory; +the error +.B ENOTDIR +results if +.I pathname +is not a directory. Using this flag provides an application with a race-free way of ensuring that the monitored object is a directory. .RE