Follow-up Comment #1, bug #14922 (project findutils):

If find needs to produce output but cannot produce correct output, it must
fail with a fatal exit status, unless the difference in the output cannot
ever be harmful.  

Hence if we need data from /etc/mtab but cannot get it, we must exit with a
nonzero status so that the caller knows not to trust our output.  

Conversely, if the whole operation of find does not need the data from
/etc/mtab, and the data is not available, the exit status is zero because the
non-availability of the informaiton was irrelevant.  

I have updated the CVS code appropriately.   Also the NEWS file.  

    _______________________________________________________

Reply to this item at:

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

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



_______________________________________________
Bug-findutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-findutils

Reply via email to