]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r362541:
authorTom Jones <thj@FreeBSD.org>
Wed, 22 Jul 2020 06:45:24 +0000 (06:45 +0000)
committerTom Jones <thj@FreeBSD.org>
Wed, 22 Jul 2020 06:45:24 +0000 (06:45 +0000)
commite1446dfabcbab19458a67d795b7596aac88203a6
tree224324394d4b751588eacfa38dc248984d2483f2
parent64f0b742187239bcda0d3adf2a721f2a77517d3c
MFC r362541:

pkg: Provide a friendlier message when bootstrap fails due to address resolution

The current message when bootstapping pkg fails for any reason implies that pkg
is not available. We have the error code from fetch so if bootstrap failed due
to address resolution say so.

Reviewed by:    bapt, bz
Approved by:    bz (co-mentor)
Differential Revision:  https://reviews.freebsd.org/D25323
usr.sbin/pkg/pkg.c