Handle sigpipe
This commit is contained in:
parent
0cecdf5879
commit
dab76f2e8a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user