Blame SOURCES/findutils-4.6.0-man-exec.patch

2b3154
From a8ff1e964b2b8cd0b60362c76bd92795cee6b3c3 Mon Sep 17 00:00:00 2001
2b3154
From: Kamil Dudka <kdudka@redhat.com>
2b3154
Date: Sun, 17 Apr 2016 22:36:13 +0200
2b3154
Subject: [PATCH] doc: clarify exit status handling of -exec command {} +
2b3154
2b3154
* find/find.1 (-exec): Explain how exit status is propagated if the
2b3154
-exec command {} + syntax is used.
2b3154
(-execdir): Likewise.
2b3154
2b3154
Reported at https://bugzilla.redhat.com/1325049
2b3154
2b3154
Upstream-commit: ae424b959c5e9bd23f9f686cb34653bc4cd1270e
2b3154
Signed-off-by: Kamil Dudka <kdudka@redhat.com>
2b3154
---
2b3154
 find/find.1 | 6 ++++++
2b3154
 1 file changed, 6 insertions(+)
2b3154
2b3154
diff --git a/find/find.1 b/find/find.1
2b3154
index a36a0bc..c4aaf17 100644
2b3154
--- a/find/find.1
2b3154
+++ b/find/find.1
2b3154
@@ -1069,6 +1069,9 @@ command line is built in much the same way that
2b3154
 .B xargs
2b3154
 builds its command lines.  Only one instance of `{}' is allowed within
2b3154
 the command.  The command is executed in the starting directory.  If
2b3154
+any invocation returns a non-zero value as exit status, then
2b3154
+.B find
2b3154
+returns a non-zero exit status.  If
2b3154
 .B find
2b3154
 encounters an error, this can sometimes cause an
2b3154
 immediate exit, so some pending commands may not be run
2b3154
@@ -1104,6 +1107,9 @@ appropriately-named file in a directory in which you will run
2b3154
 The same applies to having entries in
2b3154
 .B $PATH
2b3154
 which are empty or which are not absolute directory names.  If
2b3154
+any invocation returns a non-zero value as exit status, then
2b3154
+.B find
2b3154
+returns a non-zero exit status.  If
2b3154
 .B find
2b3154
 encounters an error, this can sometimes cause an
2b3154
 immediate exit, so some pending commands may not be run
2b3154
-- 
2b3154
2.5.5
2b3154