From 55e9752aee8cd4928a1bf2cb551ea84af17527e8 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 22 Jun 2015 20:03:40 +0200 Subject: [PATCH] xbps-uhelper: fetch: print errors in stderr instead. --- bin/xbps-uhelper/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/xbps-uhelper/main.c b/bin/xbps-uhelper/main.c index 3df1fffd..2978e14e 100644 --- a/bin/xbps-uhelper/main.c +++ b/bin/xbps-uhelper/main.c @@ -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",