summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--t-func/atlocal.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/t-func/atlocal.in b/t-func/atlocal.in
index 9b8a44129..e37209349 100644
--- a/t-func/atlocal.in
+++ b/t-func/atlocal.in
@@ -19,6 +19,9 @@ unset BZIP
unset XZ_OPT
unset XZ_DEFAULTS
+# Restore SIGPIPE to a sane default state.
+trap - PIPE
+
if [ "$(id -u)" = 0 ]; then
ASROOT=
elif which fakeroot >/dev/null; then