Skip to content

Commit 06f92b1

Browse files
committed
lib: report errors in xbps_pkgdb_init
1 parent 2301c79 commit 06f92b1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/pkgdb.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -296,9 +296,7 @@ xbps_pkgdb_init(struct xbps_handle *xhp)
296296

297297
if ((rv = xbps_pkgdb_update(xhp, false, true)) != 0) {
298298
if (rv != ENOENT)
299-
xbps_dbg_printf("[pkgdb] cannot internalize "
300-
"pkgdb dictionary: %s\n", strerror(rv));
301-
299+
xbps_error_printf("failed to initialize pkgdb: %s\n", strerror(rv));
302300
return rv;
303301
}
304302
if ((rv = pkgdb_map_names(xhp)) != 0) {

0 commit comments

Comments
 (0)