Handle sigpipe

This commit is contained in:
dcp1990 2005-06-13 21:37:12 +00:00
parent 0cecdf5879
commit dab76f2e8a

View File

@ -42,6 +42,7 @@ void handsig(sig)
case SIGINT:
case SIGQUIT:
case SIGTERM:
case SIGPIPE:
lprintf(fatal, "Received signal %d, cleaning up...\n", sig);
shutd();
exit(0);