inotify: document waiting behavior

This commit is contained in:
Denis Vlasenko committed 2008-11-14 21:52:16 +00:00
1 parent b0e5d42d4f
commit 289ff0e341
2 files changed
+6 -5

No files matched your search

+1 -1
View File
@@ -103,7 +103,7 @@ int inotifyd_main(int argc UNUSED_PARAM, char **argv)
if (bb_got_signal)
break;
n = poll(&pfd, 1, -1);
/* Signal interrupted us? */
// Signal interrupted us?
if (n < 0 && errno == EINTR)
goto again;
// Under Linux, above if() is not necessary.