From 0d1e05fe9c6027aaf742eb9b8b05f4dbefb92e2e Mon Sep 17 00:00:00 2001 From: peter Date: Mon, 11 Aug 2014 19:19:17 +0000 Subject: Import svn-1.8.10 --- subversion/libsvn_subr/opt.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'subversion/libsvn_subr/opt.c') 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); } } -- cgit v1.1