Bug 23083

Summary: pkg_add returns 0 even if the package is not found
Product: Base System Reporter: Jim.Pirzyk <Jim.Pirzyk>
Component: binAssignee: Jim Pirzyk <pirzyk>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.2-RELEASE   
Hardware: Any   
OS: Any   

Description Jim.Pirzyk 2000-11-24 19:50:01 UTC
	If pkg_add is given a package name that it cannot locate the file, it
	fails with a warning message "pkg_add: can't find package 'foo'" but
	returns 0 to the shell.

How-To-Repeat: 
	pkg_add foo
	echo $status
Comment 1 Jim Pirzyk freebsd_committer freebsd_triage 2001-06-04 20:39:51 UTC
Responsible Changed
From-To: freebsd-bugs->pirzyk

Picked up another of my open PR's
Comment 2 Jim Pirzyk freebsd_committer freebsd_triage 2001-06-04 22:35:25 UTC
State Changed
From-To: open->closed

Applied patch, MFC after 2 weeks.