From: Guus Sliepen Date: Sun, 9 Mar 2014 14:32:10 +0000 (+0100) Subject: Handle a disconnecting tincd better. X-Git-Tag: release-1.1pre11~128 X-Git-Url: http://tinc-vpn.org/git/browse?a=commitdiff_plain;ds=sidebyside;h=f134bd0c9c2213fbbb3967f3d784759cb65e2c76;hp=f134bd0c9c2213fbbb3967f3d784759cb65e2c76;p=tinc Handle a disconnecting tincd better. - 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. ---