xbps-uhelper: fetch: print errors in stderr instead.
This commit is contained in:
parent
60c4eb7c7a
commit
55e9752aee
@ -312,7 +312,7 @@ main(int argc, char **argv)
|
||||
rv = xbps_fetch_file_dest(&xh, argv[i], filename, "v");
|
||||
|
||||
if (rv == -1) {
|
||||
printf("%s: %s\n", argv[i],
|
||||
fprintf(stderr, "%s: %s\n", argv[i],
|
||||
xbps_fetch_error_string());
|
||||
} else if (rv == 0) {
|
||||
printf("%s: file is identical with remote.\n",
|
||||
|
Loading…
Reference in New Issue
Block a user