diff --git a/bin/xbps-repo/util.c b/bin/xbps-repo/util.c index 755ff3b45a8..cd9d7524cc3 100644 --- a/bin/xbps-repo/util.c +++ b/bin/xbps-repo/util.c @@ -288,12 +288,9 @@ show_pkg_files(prop_object_t obj, void *arg, bool *loop_done) else rv = xbps_check_file_hash(file, sha256); - if (rv != 0 && rv != ERANGE) { - if (sfc->destdir) - free(path); - return rv; - } - if (rv == ERANGE) + if (rv != 0 && rv != ERANGE) + printf(" (can't check: %s)", strerror(rv)); + else if (rv == ERANGE) printf(" WARNING! SHA256 HASH MISMATCH!"); printf("\n"); diff --git a/doc/TODO b/doc/TODO index 49fa27bf1f1..bc608e673e4 100644 --- a/doc/TODO +++ b/doc/TODO @@ -27,7 +27,6 @@ xbps-bin: overwritting files on disk and updating required_by if required. Perhaps change the automatic-install object to false, like pkg_install from NetBSD do. - * Fix "-C files" command when current file cannot be read. [IN PROGRESS] xbps-repo: * Add support for remote repositories, requires libfetch.