xbps-uhelper: fetch: print errors in stderr instead.

This commit is contained in:
Juan RP 2015-06-22 20:03:40 +02:00
parent 60c4eb7c7a
commit 55e9752aee

View File

@ -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",