From 24c6d992c6173507d9fec544ae926c16c201095e Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 24 Jul 2014 01:21:26 +0200 Subject: More debugging --- src/libutil/monitor-fd.hh | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libutil') diff --git a/src/libutil/monitor-fd.hh b/src/libutil/monitor-fd.hh index ebfc230f99a0..2cc495cb3ab8 100644 --- a/src/libutil/monitor-fd.hh +++ b/src/libutil/monitor-fd.hh @@ -31,6 +31,7 @@ public: assert(quit); return; // destructor is asking us to exit } + fprintf(stderr, "GOT: %d\n", fds[0].revents); assert(fds[0].revents & POLLHUP); /* We got POLLHUP, so send an INT signal to the main thread. */ kill(getpid(), SIGINT); -- cgit 1.4.1