]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
If some files lost in /var/db/pkg/<port>/ after system crash f.e.,
authorache <ache@FreeBSD.org>
Sun, 30 Jul 1995 01:08:34 +0000 (01:08 +0000)
committerache <ache@FreeBSD.org>
Sun, 30 Jul 1995 01:08:34 +0000 (01:08 +0000)
commit438e99a58f566ffa7794ca9aa4e847451eb525df
tree110ad289fe03ba53f339f49b5a9da5e05d0ff27b
parent5316d88e1be27cf217c8cca3320f501311ee9a65
If some files lost in /var/db/pkg/<port>/ 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.
usr.sbin/pkg_install/info/show.c