about summary refs log tree commit diff
path: root/src/libutil
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil')
-rw-r--r--src/libutil/util.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/libutil/util.cc b/src/libutil/util.cc
index e541887ee0d4..02dd53a17991 100644
--- a/src/libutil/util.cc
+++ b/src/libutil/util.cc
@@ -469,11 +469,7 @@ void warnOnce(bool & haveWarned, const format & f)
 
 static void defaultWriteToStderr(const unsigned char * buf, size_t count)
 {
-    try {
-        writeFull(STDERR_FILENO, buf, count);
-    } catch (SysError & e) {
-        /* ignore EPIPE etc. */
-    }
+    writeFull(STDERR_FILENO, buf, count);
 }