diff options
author | jkh <jkh@FreeBSD.org> | 2000-01-04 04:31:29 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 2000-01-04 04:31:29 +0000 |
commit | 5cb4a01018c0a72d320cb916b61e0253f1b638ce (patch) | |
tree | b12234391d62f5e4fb571bea2cb663c9a35a97f1 | |
parent | 3e495d34298d2cd5996f39e8d6128136de4158b4 (diff) | |
download | FreeBSD-src-5cb4a01018c0a72d320cb916b61e0253f1b638ce.zip FreeBSD-src-5cb4a01018c0a72d320cb916b61e0253f1b638ce.tar.gz |
Ignore SIGPIPE by default.
Submitted by: Philipp Mergenthaler <un1i@rz.uni-karlsruhe.de>
PR: 13900
-rw-r--r-- | release/sysinstall/main.c | 1 | ||||
-rw-r--r-- | usr.sbin/sade/main.c | 1 | ||||
-rw-r--r-- | usr.sbin/sysinstall/main.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/release/sysinstall/main.c b/release/sysinstall/main.c index 7b6aff6..ad454ee 100644 --- a/release/sysinstall/main.c +++ b/release/sysinstall/main.c @@ -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) { diff --git a/usr.sbin/sade/main.c b/usr.sbin/sade/main.c index 7b6aff6..ad454ee 100644 --- a/usr.sbin/sade/main.c +++ b/usr.sbin/sade/main.c @@ -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) { diff --git a/usr.sbin/sysinstall/main.c b/usr.sbin/sysinstall/main.c index 7b6aff6..ad454ee 100644 --- a/usr.sbin/sysinstall/main.c +++ b/usr.sbin/sysinstall/main.c @@ -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) { |