Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Nov 2000 11:48:35 -0800 (PST)
From:      Jim.Pirzyk@disney.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/23083: pkg_add does not return the correct error code
Message-ID:  <200011241948.eAOJmZ304495@snoopy.fan.fa.disney.com>

next in thread | raw e-mail | index | archive | help

>Number:         23083
>Category:       bin
>Synopsis:       pkg_add returns 0 even if the package is not found
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 24 11:50:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Jim Pirzyk
>Release:        FreeBSD 4.2-RELEASE i386
>Organization:
>Environment:

	FreeBSD 4.2-RELEASE

>Description:

	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 

>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011241948.eAOJmZ304495>