Ignore SIGPIPE by default.
Submitted by: Philipp Mergenthaler <un1i@rz.uni-karlsruhe.de> PR: 13900
This commit is contained in:
parent
9b3da24ed0
commit
09767b7ec4
@ -56,6 +56,7 @@ main(int argc, char **argv)
|
||||
signal(SIGBUS, screech);
|
||||
signal(SIGSEGV, screech);
|
||||
}
|
||||
signal(SIGPIPE, SIG_IGN);
|
||||
|
||||
/* We don't work too well when running as non-root anymore */
|
||||
if (geteuid() != 0) {
|
||||
|
@ -56,6 +56,7 @@ main(int argc, char **argv)
|
||||
signal(SIGBUS, screech);
|
||||
signal(SIGSEGV, screech);
|
||||
}
|
||||
signal(SIGPIPE, SIG_IGN);
|
||||
|
||||
/* We don't work too well when running as non-root anymore */
|
||||
if (geteuid() != 0) {
|
||||
|
@ -56,6 +56,7 @@ main(int argc, char **argv)
|
||||
signal(SIGBUS, screech);
|
||||
signal(SIGSEGV, screech);
|
||||
}
|
||||
signal(SIGPIPE, SIG_IGN);
|
||||
|
||||
/* We don't work too well when running as non-root anymore */
|
||||
if (geteuid() != 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user