Handle a disconnecting tincd better.
authorGuus Sliepen <guus@tinc-vpn.org>
Sun, 9 Mar 2014 14:32:10 +0000 (15:32 +0100)
committerGuus Sliepen <guus@tinc-vpn.org>
Sun, 9 Mar 2014 14:32:10 +0000 (15:32 +0100)
- Try to prevent SIGPIPE from being sent for errors sending to the control
  socket. We don't outright block the SIGPIPE signal because we still want the
  tinc CLI to exit when its output is actually sent to a real (broken) pipe.

- Don't call exit() from top(), and properly detect when the control socket is
  closed by the tincd.


No differences found