diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-04-09 10:20:16 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2015-04-14 16:45:23 +0200 |
commit | f7466e477691fd29f47ebe8ae27489e065c69e5e (patch) | |
tree | 232d7640c3945c1b9efe3cdbf9583f4a47fb7875 /util-linux/getopt.c | |
parent | a90490fb69f78148beacf371b603c16276137879 (diff) | |
download | busybox-f7466e477691fd29f47ebe8ae27489e065c69e5e.tar.gz |
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>
Diffstat (limited to 'util-linux/getopt.c')
0 files changed, 0 insertions, 0 deletions