bug-findutils
[Top][All Lists]
Advanced

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

[bugs #11625] Wrong return status for -exec ... ; when command fails


From: James Youngman
Subject: [bugs #11625] Wrong return status for -exec ... ; when command fails
Date: Mon, 17 Jan 2005 21:14:00 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041128 Firefox/1.0 (Debian package 1.0-4)

This is an automated notification sent by Savannah.
It relates to:
                bugs #11625, project findutils

==============================================================================
 LATEST MODIFICATIONS of bugs #11625:
==============================================================================

               Posted by: James Youngman <jay>
               Posted on: 2005-01-17 21:14 (GMT)
    _______________________________________________________

                  Status:                    None -> Fixed                  

    _______________________________________________________

Follow-up Comment:
Fixed.   It also turned out that the -quit predicate didn't flush any pending
unexecuted command; I fixed that too.

==============================================================================
 OVERVIEW of bugs #11625:
==============================================================================

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11625>

                 Summary: Wrong return status for -exec ... \; when command
fails
                 Project: findutils
            Submitted by: jay
            Submitted on: Mon 01/17/2005 at 20:18
                Category: find
                Severity: 5 - Average
              Item Group: Wrong result
                  Status: Fixed
                 Privacy: Public
             Assigned to: jay
         Originator Name: Geoff Clare
        Originator Email: address@hidden
             Open/Closed: Open
                 Release: None
           Fixed Release: None

    _______________________________________________________


Geoff says :-



However, I did notice one difference to how the old "-exec ... \;" works. 
When any of the executions have a non-zero exit status, the final exit status
of find is now non-zero.  This is only supposed to happen with "-exec ... +"
(where it is done to make up for the primary always evaluating as true).



(this bug report relates to the CVS code, not to any released code)



    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Mon 01/17/2005 at 21:14       By: James Youngman <jay>
Fixed.   It also turned out that the -quit predicate didn't flush any pending
unexecuted command; I fixed that too.








==============================================================================

This item URL is:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11625>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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