aboutsummaryrefslogtreecommitdiff
path: root/src/libutil
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-07-24 01:21:26 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-07-24 01:21:56 +0200
commit24c6d992c6173507d9fec544ae926c16c201095e (patch)
tree5093bacc8ea6c474eba629c482dba4d1c530e327 /src/libutil
parent1eb0af7ed563c6d77e1b8e36e81ba6ede7e49f5a (diff)
More debugging
Diffstat (limited to 'src/libutil')
-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 ebfc230f9..2cc495cb3 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);