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 SIGINT:
case SIGQUIT: case SIGQUIT:
case SIGTERM: case SIGTERM:
case SIGPIPE:
lprintf(fatal, "Received signal %d, cleaning up...\n", sig); lprintf(fatal, "Received signal %d, cleaning up...\n", sig);
shutd(); shutd();
exit(0); exit(0);