Subject: CVS commit: src/usr.sbin/pkg_install
To: None <>
From: Stoned Elipot <>
List: source-changes
Date: 03/24/2003 23:44:46
Module Name:	src
Committed By:	seb
Date:		Mon Mar 24 21:44:46 UTC 2003

Modified Files:
	src/usr.sbin/pkg_install/admin: main.c
	src/usr.sbin/pkg_install/info: main.c perform.c

Log Message:
Consistently check findmatchingname() return value for error condition.
Among other this fixes 'pkg_info -e whateverpkg' exit status when
/var/db/pkg is missing: it is now 1 and not 0.

To generate a diff of this commit:
cvs rdiff -r1.33 -r1.34 src/usr.sbin/pkg_install/admin/main.c
cvs rdiff -r1.33 -r1.34 src/usr.sbin/pkg_install/info/main.c
cvs rdiff -r1.44 -r1.45 src/usr.sbin/pkg_install/info/perform.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.