Bug 824824

Summary: apropos returns 0 on non-existing man page
Product: [Fedora] Fedora Reporter: Martin Kyral <mkyral>
Component: man-dbAssignee: Peter Schiffer <pschiffe>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: cjwatson, pschiffe
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-24 11:58:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Martin Kyral 2012-05-24 11:31:15 UTC
Description of problem:
Apropos nosuchmanpage return code is 0. It shall be 16 accoprding to man apropos.

Version-Release number of selected component (if applicable):
man-db-2.6.0.2-3.fc16.x86_64

How reproducible:
Always

Steps to Reproduce:
1. apropos nosuchmanpage
2. echo $?
  
Actual results:
0

Expected results:
16

Additional info:
The bug is fixed upstream: http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1021804.html

Comment 1 Martin Kyral 2012-05-24 11:58:30 UTC

*** This bug has been marked as a duplicate of bug 824825 ***