chiark / gitweb /
cgtop: add new cgtop tool
[elogind.git] / src / journal / journalctl.c
index 52db7a9365185adfd94475f8342c444f1bd0c533..8db3fc92014ee428c0debc43054e14b319ab25aa 100644 (file)
@@ -282,7 +282,7 @@ int main(int argc, char *argv[]) {
                 if (!arg_follow)
                         break;
 
-                r = fd_wait_for_event(fd, POLLIN);
+                r = fd_wait_for_event(fd, POLLIN, (usec_t) -1);
                 if (r < 0) {
                         log_error("Couldn't wait for event: %s", strerror(-r));
                         goto finish;