Bug 14448

Summary: Search operation returns 0 if search path does not exist
Product: [Yocto Project Subprojects] opkg Reporter: Bill Pittman <digitalskier>
Component: opkgAssignee: Alex Stewart <alex.stewart>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: Undecided    
Version: 0.4.5   
Target Milestone: 0.5.0   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)

Description Bill Pittman 2021-06-22 17:35:02 UTC
opkg search /non/existing/file 

The above command returns 0 and no stdout/stderr output.  Expected to see some sort of FileNotFound error and a non-zero return code.
Comment 1 Alex Stewart 2021-07-28 16:20:48 UTC
Should be resolved by opkg commit 3f3274185d68c36cb4a31bae863e3ad089e97ab4.

https://git.yoctoproject.org/cgit/cgit.cgi/opkg/commit/?id=3f3274185d68c36cb4a31bae863e3ad089e97ab4