aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);