Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 640444

Summary: ipa netgroup-find of invalid group returns a 0 exit status
Product: [Retired] freeIPA Reporter: Michael Gregg <mgregg>
Component: ipa-admintoolsAssignee: Rob Crittenden <rcritten>
Status: CLOSED ERRATA QA Contact: Chandrasekar Kannan <ckannan>
Severity: medium Docs Contact:
Priority: low    
Version: unspecifiedCC: benl, dpal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: freeipa-2.0.0-1.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-28 09:37:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michael Gregg 2010-10-05 20:17:50 UTC
Description of problem:
ipa netgroup-find of invalid group returns a 0 exit status

Version-Release number of selected component (if applicable):
ipa-server-1.91-0.2010100120gitaa7ecb6.fc12.x86_64

How reproducible:
always

Steps to Reproduce:
1.ipa netgroup-find <non-existent group>
  
Actual results:
ipa netgroup-find badgroup
----------------------------
Number of entries returned 0
----------------------------

echo $?
0



Expected results:

ipa netgroup-find badgroup
----------------------------
Number of entries returned 0
----------------------------

echo $?
<something not 0>

Comment 1 Rob Crittenden 2010-10-05 20:37:54 UTC
https://fedorahosted.org/freeipa/ticket/325

Comment 2 Rob Crittenden 2010-10-13 17:02:43 UTC
master: 53c218cf2fd51b0e10938e30ecb25676c0c0d030