[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #54509] `-execdir command ;` returns 0 when it should not

From: anonymous
Subject: [bug #54509] `-execdir command ;` returns 0 when it should not
Date: Mon, 13 Aug 2018 16:23:39 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0


                 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: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: None
           Fixed Release: None



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

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:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]