> wfd is stdin, so doing a shutdown on it will mostly be a noop, right?

Of course you're right.  I was so focused on finding the bug I didn't
look above what the fd is :-(

Are you okay with removing this particular shutdown(2) line?
--
Martin Pelikan

Reply via email to