xbps-bin: fix "-C files" as mentioned in TODO.
--HG-- extra : convert_revision : 21dc44831330411f079044c47b5bc6f53c599126
This commit is contained in:
parent
5abc453952
commit
b329b3be39
2 changed files with 3 additions and 7 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue