Fix new poll() code for helper pipe. Removed CPU-spin.

This commit is contained in:
Simon Kelley committed 2015-07-30 20:59:07 +01:00
1 parent f6381cf482
commit 63ec5d1264
3 files changed
+13 -1

No files matched your search

+1 -1
View File
@@ -1025,7 +1025,7 @@ int main (int argc, char **argv)
#endif
# ifdef HAVE_SCRIPT
if (daemon->helperfd != -1 && poll_check(daemon->helperfd, POLLIN))
if (daemon->helperfd != -1 && poll_check(daemon->helperfd, POLLOUT))
helper_write();
# endif
#endif