[BusyBox 0000866]: [PATCH] find returns 0 when no file is matched
bugs at busybox.net
bugs at busybox.net
Fri May 5 06:32:42 UTC 2006
The following issue has been SUBMITTED.
======================================================================
http://busybox.net/bugs/view.php?id=866
======================================================================
Reported By: asierllano
Assigned To: BusyBox
======================================================================
Project: BusyBox
Issue ID: 866
Category: Standards Compliance
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
======================================================================
Date Submitted: 05-04-2006 23:32 PDT
Last Modified: 05-04-2006 23:32 PDT
======================================================================
Summary: [PATCH] find returns 0 when no file is matched
Description:
Execute:
find -name idontexist
echo $?
You will see that in busybox it returns 0, but in findutils it returns 1.
I've provided a simple patch that solves it easily.
This bug happens in the SVN snapshot, but I haven't tried to apply this
patch to it, but it may apply directly or near-directly.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
05-04-06 23:32 asierllano New Issue
05-04-06 23:32 asierllano Status new => assigned
05-04-06 23:32 asierllano Assigned To => BusyBox
05-04-06 23:32 asierllano File Added: busybox-find-nomatch.patch
======================================================================
More information about the busybox-cvs
mailing list