summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2013-10-26 03:32:06 +0000
committerbdrewery <bdrewery@FreeBSD.org>2013-10-26 03:32:06 +0000
commitbc3991ef1de2f2fa3b2196953d51803ad0ecb383 (patch)
tree717c307086c4381f9eb7a17e02102bb4540cf602 /usr.sbin
parent389ffca6d66dc27bd6424dccf90331a485dd7eaa (diff)
downloadFreeBSD-src-bc3991ef1de2f2fa3b2196953d51803ad0ecb383.zip
FreeBSD-src-bc3991ef1de2f2fa3b2196953d51803ad0ecb383.tar.gz
Be verbose and tell where pkg(8) is being bootstrapped from.
Approved by: bapt MFC after: 2 days
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg/pkg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pkg/pkg.c b/usr.sbin/pkg/pkg.c
index 39ce207..d0a8c47 100644
--- a/usr.sbin/pkg/pkg.c
+++ b/usr.sbin/pkg/pkg.c
@@ -158,7 +158,6 @@ bootstrap_pkg(void)
config = NULL;
current = mirrors = NULL;
- printf("Bootstrapping pkg, please wait...\n");
if (config_string(PACKAGESITE, &packagesite) != 0) {
warnx("No PACKAGESITE defined");
@@ -169,6 +168,8 @@ bootstrap_pkg(void)
return (-1);
}
+ printf("Bootstrapping pkg from %s, please wait...\n", packagesite);
+
/* Support pkg+http:// for PACKAGESITE which is the new format
in 1.2 to avoid confusion on why http://pkg.FreeBSD.org has
no A record. */
OpenPOWER on IntegriCloud