From owner-freebsd-commit Sat Jul 29 18:08:43 1995 Return-Path: commit-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id SAA08668 for commit-outgoing; Sat, 29 Jul 1995 18:08:43 -0700 Received: (from majordom@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id SAA08652 for cvs-usrsbin-outgoing; Sat, 29 Jul 1995 18:08:40 -0700 Received: (from ache@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id SAA08641 ; Sat, 29 Jul 1995 18:08:35 -0700 Date: Sat, 29 Jul 1995 18:08:35 -0700 From: "Andrey A. Chernov" Message-Id: <199507300108.SAA08641@freefall.cdrom.com> To: CVS-commiters, cvs-usrsbin Subject: cvs commit: src/usr.sbin/pkg_install/info show.c Sender: commit-owner@FreeBSD.org Precedence: bulk ache 95/07/29 18:08:35 Modified: usr.sbin/pkg_install/info show.c Log: If some files lost in /var/db/pkg// after system crash f.e., pkg_manage silently dumps core, pkg_info claims about them to stderr, which makes very difficult to find what directory cause it via tons of pkg_info -a output. I found solution which covers both variants, now pkg_info claims about missing files to stdout among valid output with ERROR: prefix. It heals pkg_manage to not dump core and makes easy to find errors in pkg_info -a output by simple /ERROR 'more' command.