summaryrefslogtreecommitdiffstats
path: root/subversion/libsvn_subr/opt.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2014-08-11 19:19:17 +0000
committerpeter <peter@FreeBSD.org>2014-08-11 19:19:17 +0000
commit0d1e05fe9c6027aaf742eb9b8b05f4dbefb92e2e (patch)
tree7641ccc1b31a300b13c0cfcf8ab6c33e17646de1 /subversion/libsvn_subr/opt.c
parent9efa638bec6d135464ff9b3bab358c76671c87bf (diff)
downloadFreeBSD-src-0d1e05fe9c6027aaf742eb9b8b05f4dbefb92e2e.zip
FreeBSD-src-0d1e05fe9c6027aaf742eb9b8b05f4dbefb92e2e.tar.gz
Import svn-1.8.10
Diffstat (limited to 'subversion/libsvn_subr/opt.c')
-rw-r--r--subversion/libsvn_subr/opt.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/subversion/libsvn_subr/opt.c b/subversion/libsvn_subr/opt.c
index 28ffed1..bfaa8b4 100644
--- a/subversion/libsvn_subr/opt.c
+++ b/subversion/libsvn_subr/opt.c
@@ -417,7 +417,9 @@ svn_opt_subcommand_help3(const char *subcommand,
_("\"%s\": unknown command.\n\n"), subcommand);
if (err) {
- svn_handle_error2(err, stderr, FALSE, "svn: ");
+ /* Issue #3014: Don't print anything on broken pipes. */
+ if (err->apr_err != SVN_ERR_IO_PIPE_WRITE_ERROR)
+ svn_handle_error2(err, stderr, FALSE, "svn: ");
svn_error_clear(err);
}
}
OpenPOWER on IntegriCloud