[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #14922] find should show a warning on unreadable mtab
From: |
James Youngman |
Subject: |
[bug #14922] find should show a warning on unreadable mtab |
Date: |
Fri, 11 Nov 2005 07:50:05 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.7.12) Gecko/20050922 Firefox/1.0.7 (Ubuntu package 1.0.7) |
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/