~vcs-imports/busybox/trunk

Viewing all changes in revision 13584.

  • Committer: Denys Vlasenko
  • Author(s): Felix Fietkau
  • Date: 2015-04-14 14:45:23 UTC
  • Revision ID: git-v1:f7466e477691fd29f47ebe8ae27489e065c69e5e
find: fix regression in status processing for path arguments

Regression added in commit 14158b4127dba30466c50147b868a6a89702960b
"find: add optional support for '-exec ... {} +'"

This commit causes find to exit on the first path argument that was not
found, which breaks existing scripts and is incompatible to other
implementations.

Instead of exiting on the first failure, return EXIT_FAILURE at the end
if any error occurred.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: