URL:
<http://savannah.gnu.org/bugs/?54509>
Summary: `-execdir command ;` returns 0 when it should not
Project: findutils
Submitted by: None
Submitted on: Mon 13 Aug 2018 08:23:38 PM UTC
Category: find
Severity: 3 - Normal
Item Group: Wrong result
Status: None
Privacy: Public
Assigned to: None
Originator Name: segfault
Originator Email: [email protected]
Open/Closed: Open
Discussion Lock: Any
Release: None
Fixed Release: None
_______________________________________________________
Details:
This affects find 4.7.0-git on Debian Sid (unstable), but I couldn't select
that version in the bug submit form, because it only lists releases up to
4.6.0.
The man page says the following about `-execdir command ;`:
"If any invocation returns a non-zero value as exit status, then find returns
a non-zero exitstatus."
This doesn't seem to be correct, for example the following returns 0:
mkdir foo; find foo -execdir false \;
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?54509>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/