about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-07-23T23·21+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-07-23T23·21+0200
commit24c6d992c6173507d9fec544ae926c16c201095e (patch)
tree5093bacc8ea6c474eba629c482dba4d1c530e327
parent1eb0af7ed563c6d77e1b8e36e81ba6ede7e49f5a (diff)
More debugging
-rw-r--r--src/libutil/monitor-fd.hh1
1 files changed, 1 insertions, 0 deletions
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);